[issue26407] csv.writer.writerows masks exceptions from __iter__

Ilja Everilä report at bugs.python.org
Mon Feb 29 15:31:18 EST 2016


Ilja Everilä added the comment:

As a side note PyObject_GetIter actually raises a TypeError already for non-iterables (classes without __iter__ etc.), so csv_writerows duplicates the effort at the moment.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26407>
_______________________________________


More information about the Python-bugs-list mailing list