This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients gregory.p.smith, izbyshev, pitrou, vstinner
Date 2017-12-10.18:38:47
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1512931127.15.0.213398074469.issue32270@psf.upfronthosting.co.za>
In-reply-to
Content
Thanks for the report and the investigation!

> 1. The fact that file descriptors specified for redirection are closed (even with close_fds=False) unless in range [0, 2] is not documented and not tested.

That sounds like a bug to me, so we should fix it if decently possible.

> 2. pass_fds interaction with (1) should be fixed and documented. We may either raise ValueError if pass_fds contains a redirected fd or don't close such a redirected fd.

Same here, it seems like a bug which deserves fixing.

Do you want to submit a PR for this?
History
Date User Action Args
2017-12-10 18:38:47pitrousetrecipients: + pitrou, gregory.p.smith, vstinner, izbyshev
2017-12-10 18:38:47pitrousetmessageid: <1512931127.15.0.213398074469.issue32270@psf.upfronthosting.co.za>
2017-12-10 18:38:47pitroulinkissue32270 messages
2017-12-10 18:38:47pitroucreate