diff options
Diffstat (limited to 'Python')
-rw-r--r-- | Python/pylifecycle.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Python/pylifecycle.c b/Python/pylifecycle.c index 13efa6f..11a4580 100644 --- a/Python/pylifecycle.c +++ b/Python/pylifecycle.c @@ -1672,9 +1672,10 @@ finalize_interp_types(PyInterpreterState *interp) _PyLong_FiniTypes(interp); _PyThread_FiniType(interp); _PyErr_FiniTypes(interp); - _PyTypes_Fini(interp); _PyTypes_FiniTypes(interp); + _PyTypes_Fini(interp); + // Call _PyUnicode_ClearInterned() before _PyDict_Fini() since it uses // a dict internally. _PyUnicode_ClearInterned(interp); |