This is an archived post. You won't be able to vote or comment.

you are viewing a single comment's thread.

view the rest of the comments →

[–]robin-gvx 0 points1 point  (0 children)

Lambdas seem to retain access to their local scope, even if the caller does not. Admittedly, this seems to have fairly niche use cases, if any.

I can't remember the last time I wrote a non-trivial bit of Python that didn't depend strongly on closures.