Victor Stinner 8a1be61849 Add more checks on the GIL
Issue #10915, #15751, #26558:

* PyGILState_Check() now returns 1 (success) before the creation of the GIL and
  after the destruction of the GIL. It allows to use the function early in
  Python initialization and late in Python finalization.
* 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()
  and _Py_write()
2016-03-14 22:07:55 +01:00
..
2015-08-24 20:23:27 -07:00
2016-02-25 23:25:14 -08:00
2016-03-02 11:31:06 -05:00
2016-03-14 22:07:55 +01:00
2016-01-26 00:40:57 +01:00
2016-02-20 12:59:36 -08:00
2016-03-14 22:07:55 +01:00
2016-03-14 22:07:55 +01:00
2016-01-27 00:37:59 +01:00
2015-11-10 12:11:52 +01:00
2016-01-26 00:40:57 +01:00
2016-03-14 12:04:26 +01:00

Miscellaneous source files for the main Python shared library