[issue4806] Function calls taking a generator as star argument can mask TypeErrors in the generator

Kenneth Arnold report at bugs.python.org
Wed Jun 3 00:43:02 CEST 2009


Kenneth Arnold <kenneth.arnold at gmail.com> added the comment:

I can confirm that (a) this exact behavior is happening and (b) it quite
confused me (most of the time it works!). What would be a "good"
TypeError? I'd vote for generators to be explicitly supported even if it
required a special case. Thanks!

----------
nosy: +kcarnold

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


More information about the Python-bugs-list mailing list