Skip Montanaro <s...@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 <rep...@bugs.python.org> <http://bugs.python.org/issue5332> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com