[issue4847] csv fails when file is opened in binary mode
Antoine Pitrou
report at bugs.python.org
Mon Jan 5 18:47:21 CET 2009
Antoine Pitrou <pitrou at free.fr> added the comment:
You can avoid the newline translation problem by using the newline
parameter in open(). Set it to '' (the empty string) and any CR and LF
characters should remain intact.
As for the original problem, IMHO it is a documentation bug.
----------
assignee: -> georg.brandl
components: +Documentation -Library (Lib)
nosy: +georg.brandl, pitrou
priority: -> normal
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue4847>
_______________________________________
More information about the Python-bugs-list
mailing list