You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Tested on 2.3 (Fedora Core 3) and 2.4 (Ubuntu 5.04).
The documentation strongly suggests that the csv module
raises csv.Error when there are problems parsing the
csv, but in fact it sometimes lets _csv.Error escape
the C module, as per this example:
>>> import csv, StringIO
>>> r = csv.reader(StringIO.StringIO('"xx,qq'))
>>> r.next()
Traceback (most recent call last):
File "<stdin>", line 1, in ?
_csv.Error: newline inside string
csv.Error and _csv.Error are the same object. The object is
defined in the low level _csv module, then imported into the
csv module. That the name is "_csv.Error" can't be changed
in the context of the csv module.
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: