A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from http://mail.python.org/pipermail/python-dev/2001-November/018677.html below:

[Python-Dev] gc.get_referents

[Python-Dev] gc.get_referentsNeil Schemenauer nas@python.ca
Tue, 20 Nov 2001 10:48:22 -0800
Barry A. Warsaw wrote:
> Except that you'll have to support both names for backwards
> compatibility.

Most of the stuff in the gc module is low-level, highly dependent on the
GC implementation and may change significantly between releases.  The
only APIs that you can really count on are gc.enable(), gc.disable(),
gc.isenabled(), and gc.collect().  People should not be using
gc.get_referents() in normal code.

On a related note, the gc.DEBUG_LEAK flag should probably be fixed.
It's my understanding that the interpreter can create reference cycles
if certain new features (like nested scopes) are used.  If that's true
then some of the GC debugging options will need to be rationalized.

  Neil



RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4