[ python-Bugs-1471423 ] reload(ctypes) leaks references

SourceForge.net noreply at sourceforge.net
Sun Apr 16 22:21:15 CEST 2006


Bugs item #1471423, was opened at 2006-04-16 22:21
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1471423&group_id=5470

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Extension Modules
Group: Python 2.5
Status: Open
Resolution: None
Priority: 5
Submitted By: Thomas Heller (theller)
Assigned to: Thomas Heller (theller)
Summary: reload(ctypes) leaks references

Initial Comment:
Found by Neal Norwitz, reload(ctypes) leaks references:

>>> reload(ctypes); gc.collect(); gc.collect();
gc.collect()
<module 'ctypes' from
'c:\svn\trunk\lib\ctypes\__init__.pyc'>
128
13
0
[34251 refs]
>>> reload(ctypes); gc.collect(); gc.collect();
gc.collect()
<module 'ctypes' from
'c:\svn\trunk\lib\ctypes\__init__.pyc'>
128
13
0
[34786 refs]
>>> reload(ctypes); gc.collect(); gc.collect();
gc.collect()
<module 'ctypes' from
'c:\svn\trunk\lib\ctypes\__init__.pyc'>
128
13
0
[35321 refs]
>>>

----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=105470&aid=1471423&group_id=5470


More information about the Python-bugs-list mailing list