Martin Panter added the comment:

Isn’t using newline=None a way to produce the error in the first place? Silent 
Ghost: see the footnote <https://docs.python.org/3/library/csv.html#id3>.

Reading with newline=None translates newlines. Writing with newline=None 
produces CRLFs on Windows. I understand the CSV module wants neither of these 
translations, so it has full control of the code points.

----------
nosy: +martin.panter

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26648>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to