[Python-Dev] Lexical scoping in Python 3k (original) (raw)
Simon Percivall s.percivall at chello.se
Sat Jul 1 20:27:47 CEST 2006
- Previous message: [Python-Dev] Lexical scoping in Python 3k
- Next message: [Python-Dev] Lexical scoping in Python 3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
What about doing something similar to how import was changed?
.a = 5 # this scope (self might be too magical ..a = 3 # up one scope ...a # up three
Of course, this looks ... perhaps a bit strange. Also, counting is a
bother.
//Simon
- Previous message: [Python-Dev] Lexical scoping in Python 3k
- Next message: [Python-Dev] Lexical scoping in Python 3k
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]