[Python-Dev] cycle-GC question

Martin v. Loewis martin@loewis.home.cs.tu-berlin.de
Tue, 19 Dec 2000 17:07:04 +0100

> There is another one which is trickier to find:
[__builtin__.__builtins__ == __builtin__]

> Would something like:
[do not add builtins to builtin
> work?

No, because there is another one that is even trickier to find :-)

>>> print r
<rexec.RExec instance at 0x81f7cac>
>>> print r.modules['__builtin__'].open.im_self
<rexec.RExec instance at 0x81f7cac>

Please see my other message; I think modules should be gc'ed.