mirror of
https://github.com/python/cpython.git
synced 2025-08-25 03:04:55 +00:00
GH-108716: Turn off deep-freezing of code objects. (GH-108722)
This commit is contained in:
parent
00cf626cd4
commit
15d4c9fabc
15 changed files with 50 additions and 86 deletions
|
@ -697,6 +697,7 @@ init_interpreter(PyInterpreterState *interp,
|
|||
interp->optimizer = &_PyOptimizer_Default;
|
||||
interp->optimizer_backedge_threshold = _PyOptimizer_Default.backedge_threshold;
|
||||
interp->optimizer_resume_threshold = _PyOptimizer_Default.backedge_threshold;
|
||||
interp->next_func_version = 1;
|
||||
if (interp != &runtime->_main_interpreter) {
|
||||
/* Fix the self-referential, statically initialized fields. */
|
||||
interp->dtoa = (struct _dtoa_state)_dtoa_state_INIT(interp);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue