Message28706
| 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:22 | admin | link | issue1500293 messages |
| 2007年08月23日 14:40:22 | admin | create |
|