[issue32547] csv.DictWriter emits strange errors if fieldnames is an iterator
Sam Ezeh
report at bugs.python.org
Fri Apr 1 04:32:18 EDT 2022
Sam Ezeh <sam.z.ezeh at gmail.com> added the comment:
I've submitted a patch that introduces code that raises TypeError at construction if `fieldnames` is not a sequence
----------
keywords: +patch
nosy: +sam_ezeh
Added file: https://bugs.python.org/file50709/sam_ezeh.patch
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32547>
_______________________________________
More information about the Python-bugs-list
mailing list