[Python-ideas] Tweaking closures and lexical scoping to include the function being defined

Steven D'Aprano steve at pearwood.info
Wed Sep 28 15:48:40 CEST 2011

Carl Matthew Johnson wrote:

> I think ``rebind expression as name`` reads fine. Not sure if "rebind" exactly gives the right impression though.

Why "rebind"? The expression hasn't been bound once yet, so you can't 
REbind it.

Not that I like ``bind expression as name`` any better.


More information about the Python-ideas mailing list