[issue5332] csv sniffer

Skip Montanaro report at bugs.python.org
Thu Feb 26 04:33:02 CET 2009


Skip Montanaro <skip at pobox.com> added the comment:

I verified the bug.  I started to work on a patch (see attached), but
it quickly seems to get out-of-hand with tracebacks about stuff not
supporting the buffer API.  I suspect the real solution might involve
doing something to convert the bytes to strings read when in binary mode,
but I don't have any idea how to finesse the requirement of bytes() for
an encoding arg.

----------
keywords: +patch
nosy: +skip.montanaro
stage:  -> needs patch
versions: +Python 3.1
Added file: http://bugs.python.org/file13186/csv.diff

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


More information about the Python-bugs-list mailing list