[Python-checkins] python/dist/src/Misc NEWS,1.1220,1.1221

andrewmcnamara at users.sourceforge.net andrewmcnamara at users.sourceforge.net
Wed Jan 12 08:44:47 CET 2005

Update of /cvsroot/python/python/dist/src/Misc
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv19456/Misc

Modified Files:
Log Message:
When using QUOTE_NONNUMERIC, we now test for "numericness" with
PyNumber_Check, rather than trying to convert to a float.  Reimplemented
writer - now raises exceptions when it sees a quotechar but neither
doublequote or escapechar are set. Doublequote results are now more
consistent (eg, single quote should generate """", rather than "",
which is ambiguous).

Index: NEWS
RCS file: /cvsroot/python/python/dist/src/Misc/NEWS,v
retrieving revision 1.1220
retrieving revision 1.1221
diff -u -d -r1.1220 -r1.1221
--- NEWS	12 Jan 2005 03:45:10 -0000	1.1220
+++ NEWS	12 Jan 2005 07:44:42 -0000	1.1221
@@ -45,6 +45,9 @@
   + quotechar=None and quoting=QUOTE_NONE now work the way PEP 305
   + the parser now removes the escapechar prefix from escaped characters.
+  + QUOTE_NONNUMERIC now tests for numeric objects, rather than attempting
+    to cast to float.
+  + writer doublequote handling improved.
   + Dialect classes passed to the module are no longer instantiated by
     the module before being parsed (the former validation scheme required
     this, but the mechanism was unreliable).

More information about the Python-checkins mailing list