diff options
author | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-13 11:30:54 (GMT) |
---|---|---|
committer | Andrew McNamara <andrewm@object-craft.com.au> | 2005-01-13 11:30:54 (GMT) |
commit | f69d94f6c0263975c2b197a47487472d20a0c92c (patch) | |
tree | d43ce89c2f6afcf9d6b3904c70bb127f54f11d86 /Misc | |
parent | a1974c1459a424fdc9d8bbce55500f6006d0297d (diff) | |
download | cpython-f69d94f6c0263975c2b197a47487472d20a0c92c.zip cpython-f69d94f6c0263975c2b197a47487472d20a0c92c.tar.gz cpython-f69d94f6c0263975c2b197a47487472d20a0c92c.tar.bz2 |
Moved reader \r and \n processing from the iterator to the state machine -
this allows for better handling of newline characters in quoted fields (and
hopefully resolves Bug 967934).
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -48,10 +48,11 @@ Library dictates. + the parser now removes the escapechar prefix from escaped characters. + 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. + types, rather than any object than can be represented as a numeric. + when quoting=QUOTE_NONNUMERIC, the reader now casts unquoted fields to floats. + + reader now allows \r characters to be quoted (previously it only allowed + \n to be quoted). + 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 |