diff options
author | Andrew M. Kuchling <amk@amk.ca> | 2004-10-11 19:20:06 (GMT) |
---|---|---|
committer | Andrew M. Kuchling <amk@amk.ca> | 2004-10-11 19:20:06 (GMT) |
commit | f3958f16cf54c5ff1af791cbc0fe491ce2622c6d (patch) | |
tree | bf0a3f615e0db3137ce3f95dbb52ffc6b6765fbb /Doc/whatsnew | |
parent | 9fc9789a0d0bd83f3c49fc2837555d022cf52014 (diff) | |
download | cpython-f3958f16cf54c5ff1af791cbc0fe491ce2622c6d.zip cpython-f3958f16cf54c5ff1af791cbc0fe491ce2622c6d.tar.gz cpython-f3958f16cf54c5ff1af791cbc0fe491ce2622c6d.tar.bz2 |
Add two items
Diffstat (limited to 'Doc/whatsnew')
-rw-r--r-- | Doc/whatsnew/whatsnew24.tex | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/Doc/whatsnew/whatsnew24.tex b/Doc/whatsnew/whatsnew24.tex index 6623291..03d6b49 100644 --- a/Doc/whatsnew/whatsnew24.tex +++ b/Doc/whatsnew/whatsnew24.tex @@ -1230,6 +1230,14 @@ to internationalize Optik's help and error messages. Help messages 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 @@ Changes to Python's build process and to the C API include: 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. |