[Patches] [Patch #102925] Add new function gc.getreferents

noreply@sourceforge.net noreply@sourceforge.net
Tue, 19 Dec 2000 07:13:33 -0800


Patch #102925 has been updated. 

Project: python
Category: core (C code)
Status: Open
Submitted by: loewis
Assigned to : nobody
Summary: Add new function gc.getreferents

Follow-Ups:

Date: 2000-Dec-19 07:13
By: loewis

Comment:
This patch adds a new function gc.getreferents which traverses all collectable objects and returns a list of objects that refer to any of the parameters of gc.getreferents.
This will only find references visible to the gc; references in local variables of functions that are currently on the stack won't be found.
-------------------------------------------------------

-------------------------------------------------------
For more info, visit:

http://sourceforge.net/patch/?func=detailpatch&patch_id=102925&group_id=5470