[Python-ideas] csv.DictReader could handle headers more intelligently.
Ethan Furman
ethan at stoneleaf.us
Fri Jan 25 04:25:38 CET 2013
On 01/22/2013 05:06 PM, J. Cliff Dyer wrote:
> Thoughts? Do folks think this is worth adding to the csv library, or
> should I just keep using my subclass?
+1 for ignoring blank lines (including delimiter-only lines)
+1 for raising an exception on duplicate headers
+1 for a flag to not raise on duplicate empty headers (but a completely
empty header line is still ignored)
~Ethan~
More information about the Python-ideas
mailing list