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 <1457967387.03.0.175563838796.issue26558@psf.upfronthosting.co.za>
In-reply-to
Content
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()
History
Date User Action Args
2016-03-14 14:56:27vstinnersetrecipients: + vstinner
2016-03-14 14:56:27vstinnersetmessageid: <1457967387.03.0.175563838796.issue26558@psf.upfronthosting.co.za>
2016-03-14 14:56:27vstinnerlinkissue26558 messages
2016-03-14 14:56:26vstinnercreate