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 Arfrever, DLitz, aliles, amaury.forgeotdarc, asvetlov, christian.heimes, georg.brandl, grahamd, gregory.p.smith, jcea, lemburg, neologix, pitrou, sbt, twouters, vstinner
Date 2013-10-21.13:51:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
"now that FDs are non-inheritable by default, fork locks around
subprocess and multiprocessing shouldn't be necessary anymore? What
other use cases does the fork-lock have?"

Well, on Windows, it's still not possible to inherit only one handle. If you mark temporary the handle as inheritable (os.set_handle_inheritable), it might be inherited by a diffrent child process if another Python thread spawn a process... It's probably unlikely, so it's one of the use case of such lock :-)
Date User Action Args
2013-10-21 13:51:36vstinnersetrecipients: + vstinner, lemburg, twouters, georg.brandl, gregory.p.smith, jcea, amaury.forgeotdarc, pitrou, christian.heimes, grahamd, Arfrever, asvetlov, neologix, sbt, aliles, DLitz
2013-10-21 13:51:36vstinnersetmessageid: <>
2013-10-21 13:51:36vstinnerlinkissue16500 messages
2013-10-21 13:51:36vstinnercreate