From 0c7895617f5a151687afc1ac73f1c5a5e72dd726 Mon Sep 17 00:00:00 2001
From: "Andrew M. Kuchling" <amk@amk.ca>
Date: Thu, 23 Sep 2004 20:15:41 +0000
Subject: Add various items

---
 Doc/whatsnew/whatsnew24.tex | 19 +++++++++++++++++++
 1 file changed, 19 insertions(+)

diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex
index f1fa374..d1b2c4c 100644
--- a/Doc/whatsnew/whatsnew24.tex
+++ b/Doc/whatsnew/whatsnew24.tex
@@ -941,6 +941,10 @@ the name \samp{None} is now a syntax error.
   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 @@ any problems as a \member{defect} attribute of the message.
    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 @@ which rotated logs once the file exceeded a certain size.  Both
 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 @@ Changes to Python's build process and to the C API include:
   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.
-- 
cgit v0.12

