[issue19449] csv.DictWriter can't handle extra non-string fields
Tomas Grahn
report at bugs.python.org
Wed Oct 30 15:09:04 CET 2013
Tomas Grahn added the comment:
If non-string field names aren't allowed then shouldn't they be caught at an earlier stage, rather then when the user feeds writerow a dict with an unexpected key?
But why should the field names have to be strings in the first place? Everything else is passed through str before being written anyway...
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue19449>
_______________________________________
More information about the Python-bugs-list
mailing list