diff options
author | Mark Shannon <mark@hotpy.org> | 2023-09-08 10:34:40 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-09-08 10:34:40 +0100 |
commit | 15d4c9fabce67b8a1b5bd9dec9612014ec18291a (patch) | |
tree | 1c728c98663c224ec93022b0bdd0dd685c9fdf38 /Python/pylifecycle.c | |
parent | 00cf626cd41f806062c22a913b647b4efa84c476 (diff) | |
download | cpython-15d4c9fabce67b8a1b5bd9dec9612014ec18291a.tar.gz cpython-15d4c9fabce67b8a1b5bd9dec9612014ec18291a.zip |
GH-108716: Turn off deep-freezing of code objects. (GH-108722)
Diffstat (limited to 'Python/pylifecycle.c')
-rw-r--r-- | Python/pylifecycle.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 92eef6d5071..48000153854 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -832,11 +832,6 @@ pycore_interp_init(PyThreadState *tstate) if (_PyStatus_EXCEPTION(status)) { return status; } - // Intern strings in deep-frozen modules first so that others - // can use it instead of creating a heap allocated string. - if (_Py_Deepfreeze_Init() < 0) { - return _PyStatus_ERR("failed to initialize deep-frozen modules"); - } status = pycore_init_types(interp); if (_PyStatus_EXCEPTION(status)) { @@ -1743,7 +1738,6 @@ finalize_interp_clear(PyThreadState *tstate) _Py_HashRandomization_Fini(); _PyArg_Fini(); _Py_ClearFileSystemEncoding(); - _Py_Deepfreeze_Fini(); _PyPerfTrampoline_Fini(); } |