[Python-checkins] python/dist/src/Doc/whatsnew whatsnew24.tex, 1.107, 1.108

akuchling at users.sourceforge.net akuchling at users.sourceforge.net
Mon Oct 11 21:20:13 CEST 2004


Update of /cvsroot/python/python/dist/src/Doc/whatsnew
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv7907

Modified Files:
	whatsnew24.tex 
Log Message:
Add two items

Index: whatsnew24.tex
===================================================================
RCS file: /cvsroot/python/python/dist/src/Doc/whatsnew/whatsnew24.tex,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -d -r1.107 -r1.108
--- whatsnew24.tex	8 Oct 2004 18:29:29 -0000	1.107
+++ whatsnew24.tex	11 Oct 2004 19:20:06 -0000	1.108
@@ -1230,6 +1230,14 @@
 for options can now include the string \code{'\%default'}, which will
 be replaced by the option's default value.
 
+\item The long-term plan is to deprecate the \module{rfc822} module
+in some future Python release in favor of the \module{email} package.
+To this end, the \function{email.Utils.formatdate()} function has been
+changed to make it usable as a replacement for
+\function{rfc822.formatdate()}.  You may want to write new e-mail
+processing code with this in mind.  (Change implemented by Anthony
+Baxter.)
+
 \item A new \function{urandom(\var{n})} function 
 was added to the \module{os} module, providing access to
 platform-specific sources of randomness such as
@@ -1384,6 +1392,12 @@
   its float or double argument \var{X} is a NaN.  
   (Contributed by Tim Peters.)
 
+  \item C code can avoid unnecessary locking by using the new
+   \cfunction{PyEval_ThreadsInitialized()} function to tell 
+   if any thread operations have been performed.  If this function 
+   returns false, no lock operations are needed.
+   (Contributed by Nick Coghlan.)
+
   \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