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.
Created on 2006年06月04日 03:30 by zseil, last changed 2022年04月11日 14:56 by admin. This issue is now closed.
| Messages (2) | |||
|---|---|---|---|
| msg28706 - (view) | Author: Ziga Seilnacht (zseil) * (Python committer) | Date: 2006年06月04日 03:30 | |
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. |
|||
| msg28707 - (view) | Author: Georg Brandl (georg.brandl) * (Python committer) | Date: 2006年06月04日 22:16 | |
Logged In: YES user_id=849994 Thanks! Fixed in rev. 46651, 46652. |
|||
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2022年04月11日 14:56:17 | admin | set | github: 43452 |
| 2006年06月04日 03:30:33 | zseil | create | |