From: Andrew M. Kuchling Date: Tue, 1 Mar 2005 00:53:46 +0000 (+0000) Subject: Note various changes that need to be described X-Git-Tag: v2.5a0~1993 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3e41b0597b5f8305eeaf51cfb16e64fe3edb9fa0;p=python Note various changes that need to be described --- diff --git a/Doc/whatsnew/whatsnew25.tex b/Doc/whatsnew/whatsnew25.tex index b4a41bff20..c1ff3748a6 100644 --- a/Doc/whatsnew/whatsnew25.tex +++ b/Doc/whatsnew/whatsnew25.tex @@ -26,8 +26,9 @@ rationale, refer to the PEP for a particular new feature. %====================================================================== +\section{PEP 309: Partial Function Application} -% Large, PEP-level features and changes should be described here. +XXX describe this PEP. %====================================================================== @@ -54,6 +55,8 @@ print max(L, key=len) print max(L) \end{verbatim} +% XXX also supported by heapq.nsmallest() and heapq.nlargest(). + (Contributed by Steven Bethard and Raymond Hettinger.) \end{itemize} @@ -84,7 +87,23 @@ details. \begin{itemize} -\item Descriptions go here. +% the cPickle module no longer accepts the deprecated None option in the +% args tuple returned by __reduce__(). + +% csv module improvements + +% datetime.datetime() now has a strptime class method which can be used to +% create datetime object using a string and format. + +% itertools.islice() now accepts None for the start and step arguments. + +\item New module: \module{spwd} provides functions for accessing the +shadow password database on systems that support it. +% XXX give example + +% XXX os.stat_float_times is now True + +% os.{SEEK_SET, SEEK_CUR, SEEK_END} have been added for convenience. \end{itemize} @@ -137,7 +156,11 @@ changes to your code: \begin{itemize} -\item Everything is all in the details! +\item Some old deprecated modules (\module{statcache}, \module{tzparse}, + \module{whrandom}) have been moved to \file{Lib/lib-old}. +% XXX note how to get them back + +% the pickle module no longer uses the deprecated bin parameter. \end{itemize}