Message83372
> 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 :-( |
|
Date |
User |
Action |
Args |
2009-03-09 11:40:14 | pitrou | set | recipients:
+ pitrou, skip.montanaro, georg.brandl, sjmachin, vstinner, jaywalker, jdwhitley |
2009-03-09 11:40:12 | pitrou | link | issue4847 messages |
2009-03-09 11:40:11 | pitrou | create | |
|