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 grahamd
Recipients asvetlov, grahamd, mhammond, ncoghlan, pitrou
Date 2012-08-29.10:09:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1346234986.51.0.318050168828.issue15751@psf.upfronthosting.co.za>
In-reply-to
Content
If PyGILState_STATE is a struct, what happens if someone naively does:

PyGILState_Release(PyGILState_UNLOCKED)

I know they shouldn't, but I actually do this in mod_wsgi in one spot as it is otherwise a pain to carry around the state when I know for sure if was unlocked before the PyGILState_Ensure().

Or can PyGILState_UNLOCKED map to some a global struct instance with certain state in it that represents that without problem.
History
Date User Action Args
2012-08-29 10:09:57grahamdsetrecipients: + grahamd, mhammond, ncoghlan, pitrou, asvetlov
2012-08-29 10:09:46grahamdsetmessageid: <1346234986.51.0.318050168828.issue15751@psf.upfronthosting.co.za>
2012-08-29 10:09:44grahamdlinkissue15751 messages
2012-08-29 10:09:41grahamdcreate