Author ztane
Recipients vstinner, yselivanov, ztane
Date 2015-09-11.13:25:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
@haypo yes.

I must add that I found out that Python 2.5 also allows 

    f(1 for x in [1], *a)


    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:48ztanesetrecipients: + ztane, vstinner, yselivanov
2015-09-11 13:25:48ztanesetmessageid: <>
2015-09-11 13:25:48ztanelinkissue25070 messages
2015-09-11 13:25:48ztanecreate