[Python-Dev] Tackling circular dependencies in 2.0?
Wed, 22 Sep 1999 01:56:05 -0400
[Guido van Rossum]
> If I remember well, the only destructors not called would be __del__
> methods, since the dependencies between to-be-deleted instances are
> unknown to the collector. Regular (C-level) destructors would of
> course be called.
Seems to me that the dependencies among to-be-deleted arbitrary C objects
are equally unknown to the collector. Assuming there's a fundamental
difference between objects implemented in Python and objects implemented in
C seems shaky on the face of it. Or if it's not just a convenient
assumption, on what is it based?
and-what-about-objects-implemented-in-fortran<wink>?-ly y'rs - tim