mirror of
https://github.com/python/cpython.git
synced 2025-07-24 11:44:31 +00:00
bpo-36876: Moved Parser/listnode.c statics to interpreter state. (GH-16328)
This commit is contained in:
parent
7f460494d2
commit
9def81aa52
2 changed files with 23 additions and 10 deletions
|
@ -125,6 +125,15 @@ struct _is {
|
|||
struct _warnings_runtime_state warnings;
|
||||
|
||||
PyObject *audit_hooks;
|
||||
/*
|
||||
* See bpo-36876: miscellaneous ad hoc statics have been moved here.
|
||||
*/
|
||||
struct {
|
||||
struct {
|
||||
int level;
|
||||
int atbol;
|
||||
} listnode;
|
||||
} parser;
|
||||
};
|
||||
|
||||
PyAPI_FUNC(struct _is*) _PyInterpreterState_LookUpID(PY_INT64_T);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue