No destructor

spahievi spahievi at vega.bg
Tue Aug 22 14:46:59 EDT 2000


>> How does Python < 2.0 handle circular references?  Is the programmer
>> expected to handle them via weak refs etc?

AM> There are no 'weak references' in Python 1.5.2 (nor, I think, in 1.6).
AM> Circular references need to be explicitly broken by the programmer,
AM> else there will be a resource leak.

There is extension module for weak dicts.

Niki






More information about the Python-list mailing list