Message266978
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} |
|
Date |
User |
Action |
Args |
2016-06-02 22:48:00 | ncoghlan | set | recipients:
+ ncoghlan, nedbat, r.david.murray, serhiy.storchaka, yselivanov, JelleZijlstra |
2016-06-02 22:48:00 | ncoghlan | set | messageid: <1464907680.45.0.264182028769.issue19611@psf.upfronthosting.co.za> |
2016-06-02 22:48:00 | ncoghlan | link | issue19611 messages |
2016-06-02 22:48:00 | ncoghlan | create | |
|