[New-bugs-announce] [issue6274] subprocess.Popen() may leak file descriptors
Facundo Batista
report at bugs.python.org
Fri Jun 12 22:57:48 CEST 2009
New submission from Facundo Batista <facundo at taniquetil.com.ar>:
If something bad happens between a os.pipe() call is called, and the
returned file descriptors are closed, those file descriptors are never
closed.
In a long lived process this is a problem.
Patch (against trunk) to solve this is attached.
----------
assignee: facundobatista
files: subprocess.py.diff
keywords: patch
messages: 89301
nosy: facundobatista
severity: normal
status: open
title: subprocess.Popen() may leak file descriptors
type: resource usage
versions: Python 2.6, Python 2.7, Python 3.1
Added file: http://bugs.python.org/file14278/subprocess.py.diff
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue6274>
_______________________________________
More information about the New-bugs-announce
mailing list