[Python-Dev] PEP for Better Control of Nested Lexical Scopes (original) (raw)
Greg Ewing greg.ewing at canterbury.ac.nz
Sat Feb 25 01:32:23 CET 2006
- Previous message: [Python-Dev] PEP for Better Control of Nested Lexical Scopes
- Next message: [Python-Dev] PEP for Better Control of Nested Lexical Scopes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Jeremy Hylton wrote:
The more practical complaint is that list comprehensions use the same namespace as the block that contains them. ... but I suspect we're stuck with the current behavior for backwards compatibility reasons.
There will be no backwards compatibility in 3.0, so perhaps this could be fixed then?
Greg
- Previous message: [Python-Dev] PEP for Better Control of Nested Lexical Scopes
- Next message: [Python-Dev] PEP for Better Control of Nested Lexical Scopes
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]