nested classes

Alex Martelli aleaxit at yahoo.com
Tue Jun 19 11:27:40 EDT 2001


<gbreed at cix.compulink.co.uk> wrote in message
news:9gnn5c$b00$1 at plutonium.compulink.co.uk...
    ...
> You could remember the parent, but that'd lead to a circular
> reference (not such a bad thing for 2.x).

Still, reference cycles may be best avoided -- module
weakref (in 2.1) does that well!


Alex






More information about the Python-list mailing list