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:40:38
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
UpdateProcThreadAttribute() documentation says that "... handles must be created as inheritable handles ..." and a comment says that "If using PROC_THREAD_ATTRIBUTE_HANDLE_LIST, pass TRUE to bInherit in CreateProcess. Otherwise, you will get an ERROR_INVALID_PARAMETER."

Seriously? What is the purpose of PROC_THREAD_ATTRIBUTE_HANDLE_LIST if it does not avoid the race condition? It's "just" to not inherit some inheritable handles? In Python 3.4, files and sockets are created non-inheritable by default, so PROC_THREAD_ATTRIBUTE_HANDLE_LIST may not improve anything :-/
Date User Action Args
2013-11-28 01:40:39vstinnersetrecipients: + vstinner, Bernt.Røskar.Brenna, sbt
2013-11-28 01:40:39vstinnersetmessageid: <>
2013-11-28 01:40:39vstinnerlinkissue19764 messages
2013-11-28 01:40:38vstinnercreate