[Patches] [ python-Patches-522961 ] Leak in Python/thread_nt.h

noreply@sourceforge.net noreply@sourceforge.net
Thu, 28 Feb 2002 07:19:39 -0800


Patches item #522961, was opened at 2002-02-26 13:58
You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=522961&group_id=5470

Category: Core (C code)
Group: Python 2.2.x
Status: Open
Resolution: None
Priority: 5
Submitted By: Gerald S. Williams (gsw_agere)
Assigned to: Nobody/Anonymous (nobody)
Summary: Leak in Python/thread_nt.h

Initial Comment:
I submitted this into the bug tracker as [ #522621 ] 
Leak in thread_nt.h, although was advised to convert 
it into a proper patch request...

The NT threading module creates a dictionary to keep 
track of thread handles but never uses it. It doesn't 
maintain it properly, creating leaks. This patch 
removes the dictionary entirely.

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

>Comment By: Gerald S. Williams (gsw_agere)
Date: 2002-02-28 15:19

Message:
Logged In: YES 
user_id=329402

Note that this change removes <Python.h> dependencies from 
the PyThread code, which is a stated goal of that module.

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

You can respond by visiting: 
http://sourceforge.net/tracker/?func=detail&atid=305470&aid=522961&group_id=5470