Message134636
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] |
|
Date |
User |
Action |
Args |
2011-04-28 02:53:26 | ncoghlan | set | recipients:
+ ncoghlan, falsetru |
2011-04-28 02:53:26 | ncoghlan | set | messageid: <1303959206.53.0.707913864462.issue11944@psf.upfronthosting.co.za> |
2011-04-28 02:53:22 | ncoghlan | link | issue11944 messages |
2011-04-28 02:53:22 | ncoghlan | create | |
|