[Csv] Sniffing dialects

Andrew McNamara andrewm at object-craft.com.au
Thu Jan 30 03:21:13 CET 2003


>    Dave> I am all for dialects as attribute only objects.  You get the same
>    Dave> effect as a dict but with less Perlish syntax.
>
>I'll cave on this one, but I still think dicts are the better solution,
>especially if dialects might be read from data files.  There's also the
>issue of mapping dialects as classes onto keyword argument dicts.

Have you had a look at the code I checked in as csv.py in the sandbox?

Aside from the inheritance, I prefer dicts. But the inheritance feels
like a valuable addition.

-- 
Andrew McNamara, Senior Developer, Object Craft
http://www.object-craft.com.au/
_______________________________________________
Csv mailing list
Csv at mail.mojam.com
http://manatee.mojam.com/mailman/listinfo/csv



More information about the Csv mailing list