[Python-Dev] statically nested scopes
Wed, 01 Nov 2000 21:37:12 +0100
This will break code... I'm not sure whether it's worth going
down this path just for the sake of being able to define
functions within functions.
Wouldn't it be a better idea to somehow add native acqusition
to Python's objects ?
We already have a slot which implements the "contains"
relationship. All we'd need is a way for a contained
object to register itself with the container in a
way that doesn't produce cycles.
Python Pages: http://www.lemburg.com/python/