mirror of
https://github.com/python/cpython.git
synced 2026-01-04 14:32:21 +00:00
bpo-1635741: Release Unicode interned strings at exit (GH-21269)
* PyUnicode_InternInPlace() now ensures that interned strings are ready. * Add _PyUnicode_ClearInterned(). * Py_Finalize() now releases Unicode interned strings: call _PyUnicode_ClearInterned().
This commit is contained in:
parent
90db4653ae
commit
666ecfb095
3 changed files with 34 additions and 36 deletions
|
|
@ -78,6 +78,7 @@ extern void _PyGC_Fini(PyThreadState *tstate);
|
|||
extern void _PyType_Fini(void);
|
||||
extern void _Py_HashRandomization_Fini(void);
|
||||
extern void _PyUnicode_Fini(PyThreadState *tstate);
|
||||
extern void _PyUnicode_ClearInterned(PyThreadState *tstate);
|
||||
extern void _PyLong_Fini(PyThreadState *tstate);
|
||||
extern void _PyFaulthandler_Fini(void);
|
||||
extern void _PyHash_Fini(void);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue