[issue6274] subprocess.Popen() may leak file descriptors

2009-06-19 Thread Facundo Batista
Facundo Batista added the comment: Applied the patch (slightly modified) to trunk (2.7), 2.6, and 3k branches. -- resolution: -> fixed status: open -> closed ___ Python tracker

[issue6274] subprocess.Popen() may leak file descriptors

2009-06-12 Thread Facundo Batista
New submission from Facundo Batista : 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. -- assig