[Python-checkins]
python/dist/src/Doc/whatsnew whatsnew24.tex, 1.102, 1.103
akuchling at users.sourceforge.net
akuchling at users.sourceforge.net
Thu Sep 23 22:15:44 CEST 2004
Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv2793
Modified Files:
whatsnew24.tex
Log Message:
Add various items
Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.102
retrieving revision 1.103
diff -u -d -r1.102 -r1.103
--- whatsnew24.tex 20 Sep 2004 17:47:46 -0000 1.102
+++ whatsnew24.tex 23 Sep 2004 20:15:41 -0000 1.103
@@ -941,6 +941,10 @@
the generated bytecode for list comprehensions and speeds them up
by about a third. (Contributed by Raymond Hettinger.)
+\item The peephole bytecode optimizer has been improved to
+produce shorter, faster bytecode; remarkably the resulting bytecode is
+more readable. (Enhanced by Raymond Hettinger.)
+
\item String concatenations in statements of the form \code{s = s +
"abc"} and \code{s += "abc"} are now performed more efficiently in
certain circumstances. This optimization won't be present in other
@@ -1056,6 +1060,12 @@
find the N largest or smallest values in a dataset without the
expense of a full sort. (Contributed by Raymond Hettinger.)
+\item The \module{httplib} module now contains constants for HTTP
+status codes defined in various HTTP-related RFC documents. Constants
+have names such as \constant{OK}, \constant{CREATED},
+\constant{CONTINUE}, and \constant{MOVED_PERMANENTLY}; use pydoc to
+get a full list. (Contributed by Andrew Eland.)
+
\item The \module{imaplib} module now supports IMAP's THREAD command
(contributed by Yves Dionne) and new \method{deleteacl()} and
\method{myrights()} methods (contributed by Arnaud Mazin).
@@ -1167,6 +1177,11 @@
classes derive from a new \class{BaseRotatingHandler} class that can
be used to implement other rotating handlers.
+\item The \module{marshal} module now shares interned strings on unpacking a
+data structure. This may shrink the size of certain pickle strings,
+but the primary effect is to make \file{.pyc} files significantly smaller.
+(Contributed by Martin von Loewis.)
+
\item The \module{nntplib} module's \class{NNTP} class gained
\method{description()} and \method{descriptions()} methods to retrieve
newsgroup descriptions for a single group or for a range of groups.
@@ -1347,6 +1362,10 @@
implements fast dictionary lookups without masking exceptions raised
during the look-up process. (Contributed by Raymond Hettinger.)
+ \item The \csimplemacro{Py_IS_NAN(\var{X})} macro returns 1 if
+ its float or double argument \var{X} is a NaN.
+ (Contributed by Tim Peters.)
+
\item A new function, \cfunction{PyArg_VaParseTupleAndKeywords()},
is the same as \cfunction{PyArg_ParseTupleAndKeywords()} but takes a
\ctype{va_list} instead of a number of arguments.
More information about the Python-checkins
mailing list