[Python-ideas] With clauses for generator expressions

Greg Ewing greg.ewing at canterbury.ac.nz
Thu Nov 15 22:30:32 CET 2012


Andrew Barnert wrote:
>"As long as the generator has values to generate, and 
> has not been closed or destroyed" is a dynamic scope.

It would be less confusing to call this a "dynamic lifetime".
The term "dynamic scoping" already exists and means something
different.

-- 
Greg





More information about the Python-ideas mailing list