summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew M. Kuchling <amk@amk.ca>2002-09-13 22:21:42 (GMT)
committerAndrew M. Kuchling <amk@amk.ca>2002-09-13 22:21:42 (GMT)
commitdcfd825c110a0d4c63d5cfe82c9d2026fe16091c (patch)
tree0b0c50ffae3658b58d6c46c1333ec1a8ae88cef7
parent3cda93ebf60e501350f42fdab72c18eab54718fc (diff)
downloadcpython-dcfd825c110a0d4c63d5cfe82c9d2026fe16091c.zip
cpython-dcfd825c110a0d4c63d5cfe82c9d2026fe16091c.tar.gz
cpython-dcfd825c110a0d4c63d5cfe82c9d2026fe16091c.tar.bz2
Add two items
-rw-r--r--Doc/whatsnew/whatsnew23.tex11
1 files changed, 11 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew23.tex b/Doc/whatsnew/whatsnew23.tex
index 5375775..2e0f9be 100644
--- a/Doc/whatsnew/whatsnew23.tex
+++ b/Doc/whatsnew/whatsnew23.tex
@@ -679,6 +679,14 @@ command line or use \function{warnings.filterwarnings()}.
\exception{SyntaxWarning} warning. In a future version of Python,
\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
module and a \samp{.} in front of the type name. For example, in
@@ -961,6 +969,9 @@ patch had undergone a lengthy review. After it was checked in, Guido
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
strings containing paragraphs of text. The \function{wrap(\var{text},
\var{width})} function takes a string and returns a list containing