Message250470
@haypo yes.
I must add that I found out that Python 2.5 also allows
f(1 for x in [1], *a)
and
f(1 for x in [1], **kw)
but not
f(*a, 1 for x in [1])
So I do not know if the first and second cases were intentional or not.
Also, in Python 2.6 - 3.4, f(*a, 1 for x in [1]) provides the generator as the *first* positional argument, in 3.5 it'd be the last one. |
|
Date |
User |
Action |
Args |
2015-09-11 13:25:48 | ztane | set | recipients:
+ ztane, vstinner, yselivanov |
2015-09-11 13:25:48 | ztane | set | messageid: <1441977948.96.0.0622952910747.issue25070@psf.upfronthosting.co.za> |
2015-09-11 13:25:48 | ztane | link | issue25070 messages |
2015-09-11 13:25:48 | ztane | create | |
|