[New-bugs-announce] [issue17522] Add api PyGILState_Check

Kristján Valur Jónsson report at bugs.python.org
Fri Mar 22 18:04:10 CET 2013


New submission from Kristján Valur Jónsson:

Here is a function that is used by specialized part of our code.  Often it is useful for e.g. IO callbacks or memory hooks to know if the GIL is in place in order to know if certain things can be done or not.
Putting this here to see if anyone has strong opinions against adding this.

----------
components: Interpreter Core
files: gilcheck.patch
keywords: patch
messages: 184985
nosy: kristjan.jonsson
priority: normal
severity: normal
status: open
title: Add api PyGILState_Check
type: enhancement
versions: Python 3.4
Added file: http://bugs.python.org/file29547/gilcheck.patch

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue17522>
_______________________________________


More information about the New-bugs-announce mailing list