[Python-checkins] r45530 - python/trunk/Doc/whatsnew/whatsnew25.tex

andrew.kuchling python-checkins at python.org
Tue Apr 18 14:38:20 CEST 2006


Author: andrew.kuchling
Date: Tue Apr 18 14:38:19 2006
New Revision: 45530

Modified:
   python/trunk/Doc/whatsnew/whatsnew25.tex
Log:
Add item

Modified: python/trunk/Doc/whatsnew/whatsnew25.tex
==============================================================================
--- python/trunk/Doc/whatsnew/whatsnew25.tex	(original)
+++ python/trunk/Doc/whatsnew/whatsnew25.tex	Tue Apr 18 14:38:19 2006
@@ -3,6 +3,7 @@
 % $Id$
 
 % The easy_install stuff
+% Describe the pkgutil module
 % Stateful codec changes
 % Fix XXX comments
 % Count up the patches and bugs
@@ -1173,8 +1174,6 @@
 % the cPickle module no longer accepts the deprecated None option in the
 % args tuple returned by __reduce__().
 
-% XXX csv module improvements
-
 % XXX datetime.datetime() now has a strptime class method which can be used to
 % create datetime object using a string and format.
 
@@ -1240,6 +1239,17 @@
 module's interface, will continue to be maintained in future versions
 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
 returns a 3-tuple containing the current collection counts for the
 three GC generations.  This is accounting information for the garbage


More information about the Python-checkins mailing list