cpython/Parser
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
..
acceler.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
asdl.py Add ast.Constant 2016-01-26 00:40:57 +01:00
asdl_c.py Issue #26146: remove useless code 2016-01-27 00:37:59 +01:00
bitset.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
firstsets.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
grammar.c Fix compiler warnings on Windows 64-bit in grammar.c 2013-11-18 01:07:38 +01:00
grammar1.c Issue #18722: Remove uses of the "register" keyword in C code. 2013-08-13 20:18:52 +02:00
listnode.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
metagrammar.c Recorded merge of revisions 81032 via svnmerge from 2010-05-09 16:14:21 +00:00
myreadline.c Issue #16136: Remove VMS support and VMS-related code 2013-12-21 16:19:10 +01:00
node.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
parser.c Issue #1772673: The type of char* arguments now changed to const char*. 2013-10-19 21:03:34 +03:00
parser.h
parsetok.c Issue #25923: Added the const qualifier to static constant arrays. 2015-12-25 19:53:18 +02:00
parsetok_pgen.c Issue #10785: Store the filename as Unicode in the Python parser. 2011-04-05 00:39:01 +02:00
pgen.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
pgenmain.c Add more checks on the GIL 2016-03-14 22:07:55 +01:00
printgrammar.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
Python.asdl Add ast.Constant 2016-01-26 00:40:57 +01:00
tokenizer.c Issue #25923: Added more const qualifiers to signatures of static and private functions. 2015-12-25 20:01:53 +02:00
tokenizer.h Issue #24619: Simplify async/await tokenization. 2015-07-23 15:01:58 +03:00
tokenizer_pgen.c