News for hackers. Stuff that matters.
Re:Chris Lattner on garbage collection vs. Automatic Referen... by ptx on Sunday April 24, 2022 @11:22AM (#31144883)
Everything is always* scoped to the entire function in Python. Perhaps that's not always ideal, but at least the rule is simple.

* Well, not variables in generator expressions. There might be a few other exceptions.

There are no comments on this comment yet.