Message299411
Thanks for the report. Retitling because this has nothing to do with map:
>>> def foo(*args):
... raise TypeError('fake')
... yield 1
...
>>> foo(1, *foo())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
TypeError: foo() argument after * must be an iterable, not generator
>>> foo(*foo())
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "<stdin>", line 2, in foo
TypeError: fake |
|
Date |
User |
Action |
Args |
2017-07-28 17:07:53 | r.david.murray | set | recipients:
+ r.david.murray, Stefan Pochmann |
2017-07-28 17:07:53 | r.david.murray | set | messageid: <1501261673.24.0.0735683261231.issue31071@psf.upfronthosting.co.za> |
2017-07-28 17:07:53 | r.david.murray | link | issue31071 messages |
2017-07-28 17:07:53 | r.david.murray | create | |
|