From: Andrew M. Kuchling Date: Wed, 16 Jul 2003 20:12:33 +0000 (+0000) Subject: Add reminder list of things to document; mention sys.getcheckinterval() and socket... X-Git-Tag: v2.3c1~36 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c760c6c4423af2c25cdfd6267fd93d0f1d0b7537;p=python Add reminder list of things to document; mention sys.getcheckinterval() and socket.timeout exception --- diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex index 6f1028794c..042c640a60 100644 --- a/Doc/whatsnew/whatsnew23.tex +++ b/Doc/whatsnew/whatsnew23.tex @@ -12,6 +12,12 @@ \tableofcontents % To do: +% PYTHONINSPECT +% list.index +% file.encoding +% doctest extensions +% new version of IDLE +% XML-RPC nil extension % MacOS framework-related changes (section of its own, probably) %\section{Introduction \label{intro}} @@ -1201,6 +1207,8 @@ applications by reducing the switching overhead. Some multithreaded applications may suffer slower response time, but that's easily fixed by setting the limit back to a lower number using \function{sys.setcheckinterval(\var{N})}. +The limit can be retrieved with the new +\function{sys.getcheckinterval()} function. \item One minor but far-reaching change is that the names of extension types defined by the modules included with Python now contain the @@ -1617,7 +1625,7 @@ to make it work reliably across platforms. can call the \method{settimeout(\var{t})} method on a socket object to set a timeout of \var{t} seconds. Subsequent socket operations that take longer than \var{t} seconds to complete will abort and raise a -\exception{socket.error} exception. +\exception{socket.timeout} exception. The original timeout implementation was by Tim O'Malley. Michael Gilfix integrated it into the Python \module{socket} module and