[issue32259] Misleading "not iterable" Error Message when generator return a "simple" type, and a tuple is expected
Raymond Hettinger
report at bugs.python.org
Sun Dec 10 13:52:01 EST 2017
Raymond Hettinger <raymond.hettinger at gmail.com> added the comment:
I think the current error message should stay as is. The interpreter is in no position to guess what kind of iterable may have been intended.
----------
nosy: +rhettinger
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue32259>
_______________________________________
More information about the Python-bugs-list
mailing list