Python CSV DictWriter Problems
Skip Montanaro
skip at pobox.com
Mon May 3 17:15:47 EDT 2004
Gabriel> Is there a known-bug in csv.DictWriter? It is ignoring my
Gabriel> attempts to specify a Dialect. It doesn't even error if you
Gabriel> give it anything invalid. I can send it the registered
Gabriel> string-name of the dialect, a string of gibberish, a dialect
Gabriel> object instance, a dialect class object... it accepts all and
Gabriel> ignores all.
Fixed in CVS I believe. I will check when I get a chance (there doesn't
seem to be a test case for this), but you might try grabbing the DictWriter
class from the csv.py that's in CVS.
Skip
More information about the Python-list
mailing list