summaryrefslogtreecommitdiffstats
path: root/Misc
diff options
context:
space:
mode:
authorAndrew McNamara <andrewm@object-craft.com.au>2005-01-12 07:44:42 (GMT)
committerAndrew McNamara <andrewm@object-craft.com.au>2005-01-12 07:44:42 (GMT)
commitc89f284df8903de66be6c60eda7d9187b38956f8 (patch)
treeda725f672dd0f5f90cf3ed11f28472fe7434e7e7 /Misc
parent31d8896ee21c28ee55ae4ba2764e11fba88c9fd4 (diff)
downloadcpython-c89f284df8903de66be6c60eda7d9187b38956f8.zip
cpython-c89f284df8903de66be6c60eda7d9187b38956f8.tar.gz
cpython-c89f284df8903de66be6c60eda7d9187b38956f8.tar.bz2
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).
Diffstat (limited to 'Misc')
-rw-r--r--Misc/NEWS3
1 files changed, 3 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index 4bb11e4..02f54bd 100644
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -45,6 +45,9 @@ Library
+ quotechar=None and quoting=QUOTE_NONE now work the way PEP 305
dictates.
+ 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).