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/2000-December/011127.html below:

[Python-Dev] cycle-GC question

[Python-Dev] cycle-GC question [Python-Dev] cycle-GC questionCharles G Waldman cgw@fnal.gov
Tue, 19 Dec 2000 00:32:15 -0600 (CST)
The following program:

import rexec
while 1:
      x = rexec.RExec()
      del x

leaks memory at a fantastic rate.

It seems clear (?) that this is due to the call to "set_rexec" at
rexec.py:140, which creates a circular reference between the `rexec'
and `hooks' objects.  (There's even a nice comment to that effect).

I'm curious however as to why the spiffy new cyclic-garbage collector
doesn't pick this up?

Just-wondering-ly y'rs,
		  cgw











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