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 ronaldoussoren
Recipients 123 wlpha, ronaldoussoren
Date 2019-11-04.14:25:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572877510.95.0.938618011217.issue38680@roundup.psfhosted.org>
In-reply-to
Content
What's the value of PyGILState_Check() before the call to PyGILState_Ensure()? 

PyGILState_Ensure() and PyGILState_Release() should bracket code where you're not sure about the current GIL state, but need the GIL.  The Release function only undoes the action of the Ensure function, and won't release the GIL if the GIL was held before the call to the Ensure function.
History
Date User Action Args
2019-11-04 14:25:11ronaldoussorensetrecipients: + ronaldoussoren, 123 wlpha
2019-11-04 14:25:10ronaldoussorensetmessageid: <1572877510.95.0.938618011217.issue38680@roundup.psfhosted.org>
2019-11-04 14:25:10ronaldoussorenlinkissue38680 messages
2019-11-04 14:25:10ronaldoussorencreate