mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
gh-110693: Pending Calls Machinery Cleanups (gh-118296)
This does some cleanup in preparation for later changes.
This commit is contained in:
parent
d5df25268b
commit
09c2947581
7 changed files with 319 additions and 117 deletions
|
@ -114,6 +114,10 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
.autoTSSkey = Py_tss_NEEDS_INIT, \
|
||||
.parser = _parser_runtime_state_INIT, \
|
||||
.ceval = { \
|
||||
.pending_mainthread = { \
|
||||
.max = MAXPENDINGCALLS_MAIN, \
|
||||
.maxloop = MAXPENDINGCALLSLOOP_MAIN, \
|
||||
}, \
|
||||
.perf = _PyEval_RUNTIME_PERF_INIT, \
|
||||
}, \
|
||||
.gilstate = { \
|
||||
|
@ -166,6 +170,10 @@ extern PyTypeObject _PyExc_MemoryError;
|
|||
.imports = IMPORTS_INIT, \
|
||||
.ceval = { \
|
||||
.recursion_limit = Py_DEFAULT_RECURSION_LIMIT, \
|
||||
.pending = { \
|
||||
.max = MAXPENDINGCALLS, \
|
||||
.maxloop = MAXPENDINGCALLSLOOP, \
|
||||
}, \
|
||||
}, \
|
||||
.gc = { \
|
||||
.enabled = 1, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue