Author martin.panter
Recipients docs@python, gregory.p.smith, martin.panter, sloonz
Date 2018-03-25.14:26:27
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1521987987.85.0.467229070634.issue33079@psf.upfronthosting.co.za>
In-reply-to
Content
There is no “open_fds” parameter as far as I know. I presume you meant heritable descriptors are still closed with close_fds=True (not open_fds=False).

Are you sure about the second part? In my experiments on Linux, unless I use “pass_fds” or one of the “stdin” etc parameters, a non-heritable descriptor is never passed to the child, no matter what I use for “close_fds”.

Reading through Issue 6559, the intention of “pass_fds” seems to be to list extra file descriptors, in addition to 0, 1 and 2 that are normally passed. The documentation says descriptors greater than 2 are closed (due to close_fds=True), but in reality the “pass_fds” descriptors seem to be always left open, even when they are marked non-heritable.
History
Date User Action Args
2018-03-25 14:26:27martin.pantersetrecipients: + martin.panter, gregory.p.smith, docs@python, sloonz
2018-03-25 14:26:27martin.pantersetmessageid: <1521987987.85.0.467229070634.issue33079@psf.upfronthosting.co.za>
2018-03-25 14:26:27martin.panterlinkissue33079 messages
2018-03-25 14:26:27martin.pantercreate