Re: Suggestions for workaround in CSV bug

2006-01-24 Thread Stephen Simmons
Simmons, Stephen wrote: > > > > I've come across a bug in CSV where the csv.reader() raises an > > exception if the input line contains '\r'. Example code and output > > below shows a test case where csv.reader() cannot read an array > > written by csv.writer(). > > > > Error: newline inside s

Re: Suggestions for workaround in CSV bug

2006-01-24 Thread Michael Ströder
Simmons, Stephen wrote: > > I've come across a bug in CSV where the csv.reader() raises an > exception if the input line contains '\r'. Example code and output > below shows a test case where csv.reader() cannot read an array > written by csv.writer(). > > Error: newline inside string > WARNING

Suggestions for workaround in CSV bug

2006-01-23 Thread Simmons, Stephen
Hi, I've come across a bug in CSV where the csv.reader() raises an exception if the input line contains '\r'. Example code and output below shows a test case where csv.reader() cannot read an array written by csv.writer(). I believe this is a known bug and may have been fixed for Python 2.5. Ho