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 pitrou
Recipients georg.brandl, jaywalker, jdwhitley, pitrou, sjmachin, skip.montanaro, vstinner
Date 2009-03-09.11:40:11
SpamBayes Score 1.1775616e-05
Marked as misclassified No
Message-id <1236598859.8096.13.camel@fsol>
In-reply-to <1236598335.68.0.48982698314.issue4847@psf.upfronthosting.co.za>
Content
> I had already read it. I gave it a prize for "least intuitive arg in the
> language".

Please open a bug, then :)

> So you plan to use that, reading "lines" instead of blocks?
> You'll still have to examine which CRs and LFs are embedded and which
> are line terminators. You might just as well use f.read(BLOCKSZ) and
> avoid having to insist that the user explicitly write ", newline=''".

Sorry, but who is "you" in that paragraph?
The csv module currently accepts any iterator yielding lines of text,
not only file objects. Changing this would be a major compatibility
break.

> Excel has no default, because the user has no option -- the defined
> encoding is "cp" + str(codepage_number_derived_from_locale), e.g.
> "cp1252".

Then Excel-generated CSV files all use different encodings? Gasp :-(
History
Date User Action Args
2009-03-09 11:40:14pitrousetrecipients: + pitrou, skip.montanaro, georg.brandl, sjmachin, vstinner, jaywalker, jdwhitley
2009-03-09 11:40:12pitroulinkissue4847 messages
2009-03-09 11:40:11pitroucreate