R. David Murray added the comment: The magic of newline='' in python3 is that it *preserves* the line end characters, which is the same thing binary mode does on windows. The place that matters, as I remember it, is when there is a newline embedded inside a quoted string. I don't remember *why* that matters, though :(. But it had something to do with how the csv module processes the data internally.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue8387> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com