[issue10954] csv.reader/writer to raise exception if mode is binary or newline is not ''

Martin Panter report at bugs.python.org
Wed Feb 25 00:43:05 CET 2015


Martin Panter added the comment:

I suspect it may not be practical to check the newline translation mode of a TextIOWrapper or StringIO stream, and I don’t think newline translation is even required in general for text stream classes. Beware that the “newlines” attribute isn’t going to help; see Issue 8895.

----------
nosy: +vadmium

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


More information about the Python-bugs-list mailing list