[Csv] Something's fishy w/ Mac line endings...

Skip Montanaro skip at pobox.com
Mon Aug 18 17:27:41 CEST 2003


    Andrew> I think the intention was that by using PyIter_Next, we'd get
    Andrew> the advantage of the universal EOL support in 2.3 - in which
    Andrew> case, maybe we should drop our own EOL detection...

I think we would sacrifice 2.2 compatibility and the ability to set any eol
besides \n, \r\n or \r.

    Andrew> I wonder if the user's problems go away when they open their
    Andrew> file in text mode?

The author's test did open the files in text mode.  I added the 'b' to make
the test conform to our current expectations.

How hard would it be for you to modify _csv to not require a NUL after the
putative EOL character?

Skip


More information about the Csv mailing list