ValueError from dict - some detail would be helpful

metaperl metaperl at gmail.com
Thu Jan 11 10:26:15 EST 2007


  File "/sw/lib/python2.5/csv.py", line 120, in _dict_to_list
    raise ValueError, "dict contains fields not in fieldnames"


--- it would be nice if it said what field it was

I know that I can do a set difference on the two myself, but since it
know what wasn't there.. why not report it and save me some time?




More information about the Python-list mailing list