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 Bernt.Røskar.Brenna, sbt, vstinner
Date 2013-11-28.01:35:30
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1385602530.93.0.366993239714.issue19764@psf.upfronthosting.co.za>
In-reply-to
Content
The purpose of this issue is to avoiding having to call CreateProcess() with bInheritHandles parameter set to TRUE on Windows, and avoid calls to self._make_inheritable() in subprocess.Popen._get_handles().

Currently, bInheritHandles is set to TRUE if stdin, stdout and/or stderr parameter of Popen constructor is set (to something else than None).

Using PROC_THREAD_ATTRIBUTE_HANDLE_LIST, handles don't need to be marked as inheritable in the parent process, and CreateProcess() can be called with bInheritHandles parameter set to FALSE.
History
Date User Action Args
2013-11-28 01:35:30vstinnersetrecipients: + vstinner, Bernt.Røskar.Brenna, sbt
2013-11-28 01:35:30vstinnersetmessageid: <1385602530.93.0.366993239714.issue19764@psf.upfronthosting.co.za>
2013-11-28 01:35:30vstinnerlinkissue19764 messages
2013-11-28 01:35:30vstinnercreate