bpo-40939: Remove even more references to the old parser (GH-21642)

Automerge-Triggered-By: @lysnikolaou
This commit is contained in:
Lysandros Nikolaou 2020-07-27 21:52:59 +02:00 committed by GitHub
parent 72cabb2aa6
commit b3fbff7289
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
5 changed files with 0 additions and 17 deletions

View File

@ -13,13 +13,6 @@ extern "C" {
#include "pycore_gc.h" /* struct _gc_runtime_state */
#include "pycore_warnings.h" /* struct _warnings_runtime_state */
struct _Py_parser_state {
struct {
int level;
int atbol;
} listnode;
};
struct _pending_calls {
PyThread_type_lock lock;
/* Request for running pending calls. */
@ -240,8 +233,6 @@ struct _is {
PyObject *audit_hooks;
struct _Py_parser_state parser;
#if _PY_NSMALLNEGINTS + _PY_NSMALLPOSINTS > 0
/* Small integers are preallocated in this array so that they
can be shared.

View File

@ -545,7 +545,6 @@ coverage-lcov:
'*/Modules/zlib/*' \
'*/Include/*' \
'*/Modules/xx*.c' \
'*/Parser/listnode.c' \
'*/Python/pyfpe.c' \
'*/Python/pystrcmp.c' \
'/usr/include/*' \

View File

@ -64,8 +64,6 @@ Objects/object.c:_Py_RefTotal Py_ssize_t _Py_
Objects/tupleobject.c:_Py_fast_tuple_allocs Py_ssize_t _Py_fast_tuple_allocs
Objects/tupleobject.c:_Py_tuple_zero_allocs Py_ssize_t _Py_tuple_zero_allocs
Objects/typeobject.c:next_version_tag static unsigned int next_version_tag
Parser/listnode.c:atbol static int atbol
Parser/listnode.c:level static int level
Python/Python-ast.c:init_types():initialized static int initialized
Python/bootstrap_hash.c:urandom_cache static struct { int fd; dev_t st_dev; ino_t st_ino; } urandom_cache
Python/ceval.c:_Py_CheckRecursionLimit int _Py_CheckRecursionLimit

View File

@ -183,9 +183,6 @@ MULTILINE = {
'float_format': 'static float_format_type ',
'detected_double_format': 'static float_format_type ',
'detected_float_format': 'static float_format_type ',
# Parser/listnode.c
'level': 'static int ',
'atbol': 'static int ',
# Python/dtoa.c
'private_mem': 'static double private_mem[PRIVATE_mem]',
'pmem_next': 'static double *',

View File

@ -51,7 +51,6 @@ Objects/genobject.c - async_gen_memberlist variable static PyMemberDef async_gen
Objects/genobject.c - async_gen_methods variable static PyMethodDef async_gen_methods
Python/Python-ast.c - AsyncWith_fields variable static const char *AsyncWith_fields[]
Python/Python-ast.c - AsyncWith_type variable static PyTypeObject *AsyncWith_type
Parser/listnode.c - atbol variable static int atbol
Modules/atexitmodule.c - atexit_methods variable static PyMethodDef atexit_methods
Modules/atexitmodule.c - atexitmodule variable static struct PyModuleDef atexitmodule
Modules/atexitmodule.c - atexit_slots variable static PyModuleDef_Slot atexit_slots[]
@ -429,7 +428,6 @@ Modules/_json.c encoder_call kwlist variable static const char *kwlist[]
Python/symtable.c - lambda variable static identifier lambda
Python/Python-ast.c - Lambda_fields variable static const char *Lambda_fields[]
Python/Python-ast.c - Lambda_type variable static PyTypeObject *Lambda_type
Parser/listnode.c - level variable static int level
Objects/listobject.c - list_as_mapping variable static PyMappingMethods list_as_mapping
Objects/listobject.c - list_as_sequence variable static PySequenceMethods list_as_sequence
Python/symtable.c - listcomp variable static identifier listcomp

Can't render this file because it contains an unexpected character in line 140 and column 79.