Re: ValueError from dict - some detail would be helpful

2007-01-13 Thread Gabriel Genellina
"Facundo Batista" <[EMAIL PROTECTED]> escribió en el mensaje news:[EMAIL PROTECTED] > metaperl wrote: > >> 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 > >

Re: ValueError from dict - some detail would be helpful

2007-01-12 Thread Facundo Batista
metaperl wrote: > 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 Yeap, nice and useful... but, for example, what'd happen if the fields that are not in fieldname

ValueError from dict - some detail would be helpful

2007-01-11 Thread metaperl
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