diff options
author | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-12 09:45:18 (GMT) |
---|---|---|
committer | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-12 09:45:18 (GMT) |
commit | 0f0599ddc1ad02f392fe0be58479f34c57a80c8d (patch) | |
tree | 15f3ac9b61288a250b28cde1743c702d3129c655 /Misc | |
parent | 5d45a8dc2247d6d9f59e57d7719c3d467dd3b40d (diff) | |
download | cpython-0f0599ddc1ad02f392fe0be58479f34c57a80c8d.zip cpython-0f0599ddc1ad02f392fe0be58479f34c57a80c8d.tar.gz cpython-0f0599ddc1ad02f392fe0be58479f34c57a80c8d.tar.bz2 |
When quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields
to floats.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 7 |
1 files changed, 5 insertions, 2 deletions
@@ -45,8 +45,11 @@ 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. + + when quoting=QUOTE_NONNUMERIC, the writer now tests for numeric + objects, rather than attempting to cast to float, and using the + success of that as the determinator. + + when quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields + to floats. + 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 |