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 steve.dower
Recipients larry, serhiy.storchaka, steve.dower, tim.golden, vstinner, zach.ware
Date 2015-03-05.15:32:04
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1425569525.13.0.754343380889.issue23524@psf.upfronthosting.co.za>
In-reply-to
Content
Happy to discuss further. I'll try and get a new patch done today that disables the handler for any threads Python creates a thread state for. The change to _Py_VERIFY_FD will still be there, but the begin/end suppress will go (using the verify function to protect CRT calls can go completely once we are prepared to force people to build with VC14, but I want to avoid that for as long as possible while we transition).

Also notice that Verify_fd is a race condition but was the best solution available at the time. I'm keen to see it go.

As far as a better solution goes, I've discussed this in depth with the main CRT developer at Microsoft and there won't be one. The best concession I could get was the thread local handler so we can disable it locally rather than process wide.
History
Date User Action Args
2015-03-05 15:32:05steve.dowersetrecipients: + steve.dower, vstinner, larry, tim.golden, zach.ware, serhiy.storchaka
2015-03-05 15:32:05steve.dowersetmessageid: <1425569525.13.0.754343380889.issue23524@psf.upfronthosting.co.za>
2015-03-05 15:32:05steve.dowerlinkissue23524 messages
2015-03-05 15:32:04steve.dowercreate