cpython/Parser
Victor Stinner 9e87e7776f
bpo-32096: Remove obj and mem from _PyRuntime (#4532)
bpo-32096, bpo-30860:  Partially revert the commit
2ebc5ce42a8a9e047e790aefbf9a94811569b2b6:

* Move structures back from Include/internal/mem.h to
  Objects/obmalloc.c
* Remove _PyObject_Initialize() and _PyMem_Initialize()
* Remove Include/internal/pymalloc.h
* Add test_capi.test_pre_initialization_api():
   Make sure that it's possible to call Py_DecodeLocale(), and then call
   Py_SetProgramName() with the decoded string, before Py_Initialize().

PyMem_RawMalloc() and Py_DecodeLocale() can be called again before
_PyRuntimeState_Init().

Co-Authored-By: Eric Snow <ericsnowcurrently@gmail.com>
2017-11-24 12:09:24 +01:00
..
Python.asdl bpo-29463: Add docstring field to some AST nodes. (#46) 2017-02-22 16:31:59 +01:00
acceler.c
asdl.py Add ast.Constant 2016-01-26 00:40:57 +01:00
asdl_c.py bpo-31572: Get rid of _PyObject_HasAttrId() in the ASDL parser. (#3725) 2017-11-11 16:41:32 +02:00
bitset.c
firstsets.c
grammar.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
grammar1.c bpo-31338 (#3374) 2017-09-14 18:13:16 -07:00
listnode.c Use NULL rather than 0. (#778) 2017-03-23 17:53:47 +02:00
metagrammar.c
myreadline.c bpo-30860: Consolidate stateful runtime globals. (#3397) 2017-09-07 23:51:28 -06:00
node.c replace PY_SIZE_MAX with SIZE_MAX 2016-09-07 09:26:18 -07:00
parser.c Issue #26130: Remove redundant variable 's' from Parser/parser.c 2016-03-28 00:45:28 +03:00
parser.h
parsetok.c replace Py_(u)intptr_t with the c99 standard types 2016-09-06 13:47:26 -07:00
parsetok_pgen.c
pgen.c properly free memory in pgen 2016-09-18 18:00:25 -07:00
pgenmain.c bpo-32096: Remove obj and mem from _PyRuntime (#4532) 2017-11-24 12:09:24 +01:00
printgrammar.c Silenced some warnings about comparison between signed and unsigned integer 2014-09-05 10:10:23 +03:00
tokenizer.c tokenizer: Remove unused tabs options (#4422) 2017-11-17 01:25:47 -08:00
tokenizer.h tokenizer: Remove unused tabs options (#4422) 2017-11-17 01:25:47 -08:00
tokenizer_pgen.c