This commit is contained in:
Andrew M. Kuchling 2006-04-18 12:38:19 +00:00
parent 816a162265
commit 952f196ae7

View file

@ -3,6 +3,7 @@
% $Id$ % $Id$
% The easy_install stuff % The easy_install stuff
% Describe the pkgutil module
% Stateful codec changes % Stateful codec changes
% Fix XXX comments % Fix XXX comments
% Count up the patches and bugs % Count up the patches and bugs
@ -1173,8 +1174,6 @@ the SVN logs for all the details.
% the cPickle module no longer accepts the deprecated None option in the % the cPickle module no longer accepts the deprecated None option in the
% args tuple returned by __reduce__(). % args tuple returned by __reduce__().
% XXX csv module improvements
% XXX datetime.datetime() now has a strptime class method which can be used to % XXX datetime.datetime() now has a strptime class method which can be used to
% create datetime object using a string and format. % create datetime object using a string and format.
@ -1240,6 +1239,17 @@ which is also written in C but doesn't match the \module{profile}
module's interface, will continue to be maintained in future versions module's interface, will continue to be maintained in future versions
of Python. (Contributed by Armin Rigo.) of Python. (Contributed by Armin Rigo.)
\item The \module{csv} module, which parses files in
comma-separated value format, received several enhancements and a
number of bugfixes. You can now set the maximum size in bytes of a
field by calling the \method{csv.field_size_limit(\var{new_limit})}
function; omitting the \var{new_limit} argument will return the
currently-set limit. The \class{reader} class now has a
\member{line_num} attribute that counts the number of physical lines
read from the source; records can span multiple physical lines, so
\member{line_num} is not the same as the number of records read.
(Contributed by Skip Montanaro and Andrew McNamara.)
\item In the \module{gc} module, the new \function{get_count()} function \item In the \module{gc} module, the new \function{get_count()} function
returns a 3-tuple containing the current collection counts for the returns a 3-tuple containing the current collection counts for the
three GC generations. This is accounting information for the garbage three GC generations. This is accounting information for the garbage