Message354764
> I just discovered that the assignment operator leaks variables
> out of comprehensions.
> ...
> So it does not supersedes this optimization.
That's a real bummer. IIRC, it was discussion of this proposal that motivated the creation of the walrus operator. |
|
Date |
User |
Action |
Args |
2019-10-16 00:53:33 | rhettinger | set | recipients:
+ rhettinger, brett.cannon, ncoghlan, scoder, benjamin.peterson, steven.daprano, serhiy.storchaka, yselivanov |
2019-10-16 00:53:33 | rhettinger | set | messageid: <1571187213.38.0.430876409492.issue32856@roundup.psfhosted.org> |
2019-10-16 00:53:33 | rhettinger | link | issue32856 messages |
2019-10-16 00:53:33 | rhettinger | create | |
|