[Python-3000] end scope of iteration variables after loop

Greg Ewing greg.ewing at canterbury.ac.nz
Sat Apr 19 02:30:29 CEST 2008


Alex Martelli wrote:
> LCs were originally designed to leak

Well, they weren't really *designed* to leak, it was
just a side effect of the implementation.

It seems to have been decided that it was better to
keep it that way than risk breaking things that might
depend on it. Personally I would rather have had it
documented as "undefined".

-- 
Greg


More information about the Python-3000 mailing list