Author ncoghlan
Recipients Jelle Zijlstra, ncoghlan, nedbat, r.david.murray, serhiy.storchaka, yselivanov
Date 2016-06-02.22:48:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1464907680.45.0.264182028769.issue19611@psf.upfronthosting.co.za>
In-reply-to
Content
We definitely can't use a valid identifier in the code generator, since any valid identifier we used might shadow a nonlocal, global or builtin name (and the latter two cases aren't visible to the compiler at compile time).

They're also genuinely not positional only:

>>> print(setcomp_func(iter(range(5))))
{0, 1, 4, 9, 16}
>>> print(setcomp_func(**{".0": iter(range(5))}))
{0, 1, 4, 9, 16}
History
Date User Action Args
2016-06-02 22:48:00ncoghlansetrecipients: + ncoghlan, nedbat, r.david.murray, serhiy.storchaka, yselivanov, Jelle Zijlstra
2016-06-02 22:48:00ncoghlansetmessageid: <1464907680.45.0.264182028769.issue19611@psf.upfronthosting.co.za>
2016-06-02 22:48:00ncoghlanlinkissue19611 messages
2016-06-02 22:48:00ncoghlancreate