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 gregory.p.smith, meilyadam, paul.moore, r.david.murray, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-08-21.18:38:16
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1440182297.79.0.601161149225.issue24909@psf.upfronthosting.co.za>
In-reply-to
Content
> It looks like the structure you reference to, PROC_THREAD_ATTRIBUTE_HANDLE_LIST (STARTUPINFOEX), is only available in Windows Vista and after. Which means that Windows XP/Server 2003 would still have this issue.

Windows XP is no more supported in Python 3.5:
https://docs.python.org/dev/whatsnew/3.5.html#unsupported-operating-systems

For Windows Server 2003, yes, we will have to keep the current code which has the race condition. We did the same in the PEP 446 to clear the inherit flag. It's atomic or not depending on the function, on the operating system and even depending on the operating system version. So the PEP 446 doesn't fix all race conditions on old operating systems.

https://www.python.org/dev/peps/pep-0446/#atomic-creation-of-non-inheritable-file-descriptors
History
Date User Action Args
2015-08-21 18:38:17vstinnersetrecipients: + vstinner, gregory.p.smith, paul.moore, tim.golden, r.david.murray, zach.ware, steve.dower, meilyadam
2015-08-21 18:38:17vstinnersetmessageid: <1440182297.79.0.601161149225.issue24909@psf.upfronthosting.co.za>
2015-08-21 18:38:17vstinnerlinkissue24909 messages
2015-08-21 18:38:16vstinnercreate