[issue30034] csv reader chokes on bad quoting in large files

Keith Erskine report at bugs.python.org
Tue Apr 11 09:52:16 EDT 2017


Keith Erskine added the comment:

The csv reader already supports bad CSV - that's what I believe "strict" is for - but only in one specific scenario.  My request is to make that "strict" attribute a bit more useful.

Thank you for your suggestion, Peter.  I have toyed with the idea of looking for an even number of double quotes in each line, but thank you for your neat way of encapsulating it.  (I already have to strip null bytes out of the input data because they break csv, see issue #27580).

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue30034>
_______________________________________


More information about the Python-bugs-list mailing list