[Python-Dev] Avoiding file descriptors leakage in subprocess.Popen()

Facundo Batista facundobatista at gmail.com
Sat Jun 13 14:40:49 CEST 2009

On Fri, Jun 12, 2009 at 9:06 PM, Christian Heimes<lists at cheimes.de> wrote:

> How about a nice 'n shiny context wrapper for the pipe:

I'll do this!

Thank you for the suggestion!

BTW, as this is a good way of avoiding the FD leakage, should this
context wrapper for pipe() be in the stdlib?


.    Facundo

Blog: http://www.taniquetil.com.ar/plog/
PyAr: http://www.python.org/ar/

More information about the Python-Dev mailing list