Message294475
Regarding Mark's point about the anonymous scopes created for things like list comprehensions, at least in CPython, those are actually full functions with generated names like "<listcomp>" (at module level) or "f.<locals>.<listcomp>" (at function level).
From the point of view of code consuming the frame stack, they'd look pretty similar to a lambda expression, only with a different generated name. |
|
Date |
User |
Action |
Args |
2017-05-25 12:39:20 | ncoghlan | set | recipients:
+ ncoghlan, jcea, benjamin.peterson, Arfrever, njs, cvrebert, meador.inge, daniel.urban, Mark.Shannon, eric.snow, yselivanov, Jim Fasarakis-Hilliard |
2017-05-25 12:39:19 | ncoghlan | set | messageid: <1495715959.99.0.571639091591.issue12857@psf.upfronthosting.co.za> |
2017-05-25 12:39:19 | ncoghlan | link | issue12857 messages |
2017-05-25 12:39:19 | ncoghlan | create | |
|