[issue7198] Extraneous newlines with csv.writer on Windows

R. David Murray report at bugs.python.org
Sun Dec 26 23:52:16 CET 2010


R. David Murray <rdmurray at bitdance.com> added the comment:

OK, I'm reopening this as a doc issue, since currently the Python3 writer docs do not mention newline='', and it is indeed required on Windows.  John, would you care to suggest a doc patch?

I agree with Skip that "where it makes a difference" is more precise than specifically mentioning Windows, even if less useful in this context.  That is how the 'b' mode is documented in the open documentation.  To fix the problem with the CSV docs, the recommendation to use 'b' can simply be made unconditional, as it is for newline='' in python3.

----------
components: +Documentation
nosy: +r.david.murray
resolution: invalid -> 
stage:  -> needs patch
status: closed -> open
versions:  -Python 3.3

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


More information about the Python-bugs-list mailing list