[issue21618] POpen does not close fds when fds have been inherited from a process with a higher resource limit

Gregory P. Smith report at bugs.python.org
Sat May 31 18:00:29 CEST 2014


Gregory P. Smith added the comment:

Are you aware that the subprocess module does use /proc/self/fd in Python 3.2 and later?  The fd closing is not done from Python code.

See Modules/_posixsubprocess.c - http://hg.python.org/cpython/file/53fa2c9523d4/Modules/_posixsubprocess.c

----------
nosy: +gregory.p.smith

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue21618>
_______________________________________


More information about the Python-bugs-list mailing list