➜

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.

作者 erik.bray
收信人 EdSchouten, erik.bray, r.david.murray, vstinner
日期 2016-08-31.17:08:10
SpamBayes Score -1.0
Marked as misclassified 是
Message-id <1472663290.86.0.0073551052455.issue25658@psf.upfronthosting.co.za>
In-reply-to
内容
Ah, I wasn't thinking clearly toward the bottom of my last message.  I see now that after a fork, _PyGILState_Reinit calls PyThread_delete_key followed by a new PyThread_create_key--in the current version of my patch that would result in putting the autoTLSkey at the end of the linked list, which is no good.  That could be worked around, but...

Ed's version looks good to me.  I had the same idea as an alternative, though was a little concerned with the possibility that the array could grow too large.  But as I wrote in my last message that would be an extreme case.  And regardless his version will at least maintain constant time, so +1.
历史
日期 用户 动作 参数
2016-08-31 17:08:10erik.bray修改recipients: + erik.bray, vstinner, r.david.murray, EdSchouten
2016-08-31 17:08:10erik.bray修改messageid: <1472663290.86.0.0073551052455.issue25658@psf.upfronthosting.co.za>
2016-08-31 17:08:10erik.bray链接issue25658 messages
2016-08-31 17:08:10erik.bray创建