A RetroSearch Logo

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

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-June/026023.html below:

[Python-Dev] Garbage collector problem

[Python-Dev] Garbage collector problem [Python-Dev] Garbage collector problemJeremy Hylton jeremy@zope.com
Fri, 28 Jun 2002 11:49:46 -0400
>>>>> "KJ" == Kevin Jacobs <jacobs@penguin.theopalgroup.com> writes:

  KJ> On Fri, 28 Jun 2002, Neil Schemenauer wrote:
  >> Another idea would be exploit the fact that we know most of the
  >> root objects (e.g. sys.modules and the current stack of frames).
  >> I haven't figured out a good use for this knowledge though.

  KJ> If the root objects cannot be reached by the GC traversal, you
  KJ> get the approach that Jeremy is suggesting.  (Though I just
  KJ> looked, and frame objects aren't exempt from tracking)

Right.  My suggestion is to not track a set of objects that otherwise
would be tracked -- the current frame and its local variables.

Jeremy





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