This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients jaywalker, vstinner
Date 2009-01-05.17:23:42
SpamBayes Score 0.016499327
Marked as misclassified No
Message-id <200901051824.07275.victor.stinner@haypocalc.com>
In-reply-to <269075.27562.qm@web111115.mail.gq1.yahoo.com>
Content
> 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?

I used rarely the CSV format, but it sounds strange to have a newline 
character in a column. Newlines characters (\r and \n) are reserved to mark 
the end of the line. Can you produce such file to test? :-)

I guess that the csv modules does something like readline().split(";").
History
Date User Action Args
2009-01-05 17:23:45vstinnersetrecipients: + vstinner, jaywalker
2009-01-05 17:23:43vstinnerlinkissue4847 messages
2009-01-05 17:23:42vstinnercreate