Defining VCL-like framework for Python
Just van Rossum
just at letterror.com
Fri May 21 17:31:47 EDT 1999
At 2:14 PM -0700 5/21/99, David Ascher wrote:
>> Wow, very cool. I'm not sure if I want to take the risk of Spontaneous
>> Brain Explosion (SBE) by trying to figure out how using metaclasses can
>> help avoid the circular refs problem here...
>
>I didn't say anything about metaclasses! Perish the thought! It's true
>that ExtensionClasses are related to metaclasses,
Oops, my bad. When I see the words "Jim Fulton" my mind reads "Meta Classes"...
>but the basic idea
>behind my mentioning acquisition in this thread about circular refs is
>that in some cases, the circular refs which are introduced by having
>explicit refs between containee and container can be dealt with by,
>instead of having child->parent references, having the children acquire
>the reference to the parent attributes at attribute lookup time. Jim would
>be able to explain things better, but he's much too busy at LinuxExpo
>right now.
I tried to find his Acquisition module, but couldn't. Maybe seeing the code
helps understanding it. Although it *does* scare me that ExtensionClasses
get into this picture at all. Or is that just to keep things efficient?
Just
More information about the Python-list
mailing list