mirror of
https://github.com/python/cpython.git
synced 2025-11-25 12:44:13 +00:00
GH-124715: Move trashcan mechanism into Py_Dealloc (GH-132280)
This commit is contained in:
parent
0f23e84cda
commit
44e4c479fb
26 changed files with 88 additions and 196 deletions
|
|
@ -854,6 +854,10 @@ error:
|
|||
static PyStatus
|
||||
pycore_interp_init(PyThreadState *tstate)
|
||||
{
|
||||
_PyThreadStateImpl *_tstate = (_PyThreadStateImpl *)tstate;
|
||||
if (_tstate->c_stack_hard_limit == 0) {
|
||||
_Py_InitializeRecursionLimits(tstate);
|
||||
}
|
||||
PyInterpreterState *interp = tstate->interp;
|
||||
PyStatus status;
|
||||
PyObject *sysmod = NULL;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue