[Python-checkins] python/dist/src/Doc/whatsnew whatsnew23.tex,1.50,1.51
akuchling@users.sourceforge.net
akuchling@users.sourceforge.net
Fri, 13 Sep 2002 15:21:45 -0700
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory usw-pr-cvs1:/tmp/cvs-serv31636
Modified Files:
whatsnew23.tex
Log Message:
Add two items
Index: whatsnew23.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew23.tex,v
retrieving revision 1.50
retrieving revision 1.51
diff -C2 -d -r1.50 -r1.51
*** whatsnew23.tex 3 Sep 2002 00:53:21 -0000 1.50
--- whatsnew23.tex 13 Sep 2002 22:21:42 -0000 1.51
***************
*** 680,683 ****
--- 680,691 ----
\code{None} may finally become a keyword.
+ \item Python runs multithreaded programs by switching between threads
+ after executing N bytecodes. The default value for N has been
+ increased from 10 to 100 bytecodes, speeding up single-threaded
+ 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 by calling
+ \function{sys.setcheckinterval(\var{N})}.
+
\item One minor but far-reaching change is that the names of extension
types defined by the modules included with Python now contain the
***************
*** 961,964 ****
--- 969,975 ----
van~Rossum rewrote parts of it. This is a good example of the free
software development process in action.
+
+ \item The value of the C \cfunction{PYTHON_API_VERSION} macro is now exposed
+ at the Python level as \constant{sys.api_version}.
\item The new \module{textwrap} module contains functions for wrapping