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 vstinner
Recipients vstinner
Date 2013-08-12.01:19:13
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1376270353.47.0.282234385603.issue18571@psf.upfronthosting.co.za>
In-reply-to
Content
+    if (make_inheritable(py_fds_to_keep) < 0)
+        goto error;
+    /* errpipe_write is part of py_fds_to_keep. It must be closed at
+       exec(), but kept open in the child process until exec() is called. */
+    if (_Py_set_inheritable((int)errpipe_write, 0, NULL) < 0)
+        goto error;

make_inheritable() should ignore errpipe_write, instead of changing twice the inheritable flag of errpipe_write.
History
Date User Action Args
2013-08-12 01:19:13vstinnersetrecipients: + vstinner
2013-08-12 01:19:13vstinnersetmessageid: <1376270353.47.0.282234385603.issue18571@psf.upfronthosting.co.za>
2013-08-12 01:19:13vstinnerlinkissue18571 messages
2013-08-12 01:19:13vstinnercreate