jaywalker <jaywal...@yahoo.com> added the comment:

In an unlikely scenario:
say one of the fields has an embedded \r. For instance "blahblah\r" is the 
value of the first column. Now open this file in text mode. What happens to 
this '\r' even before csv.reader sees it? If it remains intact, no problem. If 
it is converted to a newline in any platform, and that newline is not exactly 
\r, does this not introduce a problem?

Just curious...

Thanks.

----- Original Message ----
From: STINNER Victor <rep...@bugs.python.org>
To: jaywal...@yahoo.com
Sent: Monday, January 5, 2009 12:05:59 PM
Subject: [issue4847] csv fails when file is opened in binary mode

STINNER Victor <victor.stin...@haypocalc.com> added the comment:

Do you expect to be able to read CSV as bytes or just to fix the 
documentation example?

----------
nosy: +haypo

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue4847>
_______________________________________

_______________________________________
Python tracker <rep...@bugs.python.org>
<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