Nick Coghlan <ncogh...@gmail.com> added the comment:

It's not just hiding the real error, it's also saying something that isn't 
true. If you remove the deliberate error from the generator definition, it is 
clear that generators are perfectly acceptable as *arg inputs:

>>> def g(): yield 1, 2
... 
>>> list(*g())
[1, 2]

----------
nosy: +ncoghlan

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue11944>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to