Message247990
I should have probably pointed out that the Sniffer class is the unloved stepchild of the csv module. In my experience it is rarely necessary. You either:
* Are reading CSV files which are about what Excel would produce with its default settings
or
* Know just what your format is, and can define the various parameters easily
It's pretty rare, I think, to get a delimited file in some format which is completely unknown and which thus has to be deduced.
As Peter showed, the Sniffer class is also kind of unreliable. I didn't write it, and there are precious few test cases for it. One of your datasets should probably be added to the mix and bugs fixed. |
|
Date |
User |
Action |
Args |
2015-08-04 15:29:13 | skip.montanaro | set | recipients:
+ skip.montanaro, peter.otten, Tiago Wright |
2015-08-04 15:29:13 | skip.montanaro | set | messageid: <1438702153.35.0.974172705699.issue24787@psf.upfronthosting.co.za> |
2015-08-04 15:29:13 | skip.montanaro | link | issue24787 messages |
2015-08-04 15:29:13 | skip.montanaro | create | |
|