Thu, 03 Feb 2011 16:37:31 -0800, Christoph Gohlke wrote: [clip] > My understanding is that if there is a circular reference then the > refcount will not be zero anyway. In this case _AxesImageBase instances > and their image caches will never be deleted by the gc (__del__ method > present or not) unless the circle is broken.
Python's GC will try to break the cycles if possible. In fact, there's no other need for a GC in a reference counted system. http://docs.python.org/extending/extending.html#reference-counts -- Pauli Virtanen ------------------------------------------------------------------------------ The modern datacenter depends on network connectivity to access resources and provide services. The best practices for maximizing a physical server's connectivity to a physical network are well understood - see how these rules translate into the virtual world? http://p.sf.net/sfu/oracle-sfdevnlfb _______________________________________________ Matplotlib-users mailing list Matplotlib-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/matplotlib-users