[ python-Bugs-1471423 ] reload(ctypes) leaks references
SourceForge.net
noreply at sourceforge.net
Tue Apr 18 17:20:21 CEST 2006
Bugs item #1471423, was opened at 2006-04-16 22:21
Message generated for change (Settings changed) made by theller
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: Closed
>Resolution: Fixed
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]
>>>
----------------------------------------------------------------------
Comment By: Thomas Heller (theller)
Date: 2006-04-18 17:02
Message:
Logged In: YES
user_id=11105
Fixed in rev. 45535.
----------------------------------------------------------------------
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