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 vstinner
Recipients vstinner
Date 2016-03-14.14:56:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
gil_check.patch: add more checks on the GIL

* PyGILState_Check() now returns 1 (success) before the creation of the GIL and
  after the destruction of the GIL
* Add a flag to disable PyGILState_Check(). Disable PyGILState_Check() when
  Py_NewInterpreter() is called
* Add assert(PyGILState_Check()) to:

  - _Py_dup()
  - _Py_fstat()
  - _Py_read()
  - _Py_write()
  - PyObject_Malloc()
  - PyObject_Calloc()
  - PyObject_Realloc()
  - PyObject_Free()
Date User Action Args
2016-03-14 14:56:27vstinnersetrecipients: + vstinner
2016-03-14 14:56:27vstinnersetmessageid: <>
2016-03-14 14:56:27vstinnerlinkissue26558 messages
2016-03-14 14:56:26vstinnercreate