Package: python3.2
Version: 3.2.4-1
Severity: important
Control: forwarded -1 http://bugs.python.org/issue16013
Control: block 692286 with -1
Control: clone -1 -2
Control: reassign -2 python3.3 3.3.1-1

The csv module no longer detects newlines inside quoted strings. This used to work at least until 3.2.3.


$ python test-csv-nl-inside-string.py Traceback (most recent call last):
  File "test-csv-nl-inside-string.py", line 3, in <module>
    print(list(reader))
_csv.Error: newline inside string

$ python3.2 test-csv-nl-inside-string.py [['eggs\n']]

--
Jakub Wilk
import csv
reader = csv.reader(['"eggs\n'])
print(list(reader))

Reply via email to