[Python-ideas] [Python-Dev] Tangent on class level scoping rules

Greg Ewing greg.ewing at canterbury.ac.nz
Sun Feb 23 22:45:20 CET 2014


Nick Coghlan wrote:

> Dealing with references from nested closures is the hard part.

I think that could be handled by creating new cells
for the inner variables each time the inner scope
is entered.

-- 
Greg


More information about the Python-ideas mailing list