jaywalker <[email protected]> added the comment:

I think what you suggest makes most sense. 
Thanks.

----- Original Message ----
From: Antoine Pitrou <[email protected]>
To: [email protected]
Sent: Monday, January 5, 2009 12:47:21 PM
Subject: [issue4847] csv fails when file is opened in binary mode

Antoine Pitrou <[email protected]> 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 <[email protected]>
<http://bugs.python.org/issue4847>
_______________________________________

_______________________________________
Python tracker <[email protected]>
<http://bugs.python.org/issue4847>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to