homepage

This issue tracker has been migrated to GitHub , and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author zseil
Recipients
Date 2006年06月04日.03:30:33
SpamBayes Score
Marked as misclassified
Message-id
In-reply-to
Content
The memory leak is in _subprocess module in functions
getint and gethandle. They forget to decref the objects
returned by PyObject_GetAttrString(). The bug is
present in version 2.4 as well as in the trunk.
Few more bugs in the subprocess module that I found
while looking for the leak:
- class STARTUPINFO is missing a wShowWindow attribute
 (this is hidden because _subprocess.CreateProcess()
 ignores most of the exceptions)
- _execute_child() had a nonsensical test
 (if not None in tuple_of_posible_file_handles)
- _execute_child() is assigning attributes to a
 default_startupinfo, which isn't used if user
 supplies another one.
History
Date User Action Args
2007年08月23日 14:40:22adminlinkissue1500293 messages
2007年08月23日 14:40:22admincreate

AltStyle によって変換されたページ (->オリジナル) /