[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected
Camion
report at bugs.python.org
Sun Dec 10 00:41:42 EST 2017
Camion <camion_spam-pybugs at yahoo.com> added the comment:
I wrote it like that on purpose, Steven : My goal was not to show the message itself which (I believe) was sufficiently described in the explanation, but to show how hard it might be to understand the mistake in regard with the error message, even here, with a real life but not outrageously complicated code. :-)
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32259>
_______________________________________
More information about the Python-bugs-list
mailing list