mirror of
https://github.com/python/cpython.git
synced 2025-09-27 02:39:58 +00:00
Move Unicode finalization further down in the chain.
Fixes bug #525620.
This commit is contained in:
parent
bc82ab1c9f
commit
95de5c1631
1 changed files with 5 additions and 5 deletions
|
@ -219,11 +219,6 @@ Py_Finalize(void)
|
||||||
/* Disable signal handling */
|
/* Disable signal handling */
|
||||||
PyOS_FiniInterrupts();
|
PyOS_FiniInterrupts();
|
||||||
|
|
||||||
#ifdef Py_USING_UNICODE
|
|
||||||
/* Cleanup Unicode implementation */
|
|
||||||
_PyUnicode_Fini();
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* Cleanup Codec registry */
|
/* Cleanup Codec registry */
|
||||||
_PyCodecRegistry_Fini();
|
_PyCodecRegistry_Fini();
|
||||||
|
|
||||||
|
@ -268,6 +263,11 @@ Py_Finalize(void)
|
||||||
PyInt_Fini();
|
PyInt_Fini();
|
||||||
PyFloat_Fini();
|
PyFloat_Fini();
|
||||||
|
|
||||||
|
#ifdef Py_USING_UNICODE
|
||||||
|
/* Cleanup Unicode implementation */
|
||||||
|
_PyUnicode_Fini();
|
||||||
|
#endif
|
||||||
|
|
||||||
/* XXX Still allocated:
|
/* XXX Still allocated:
|
||||||
- various static ad-hoc pointers to interned strings
|
- various static ad-hoc pointers to interned strings
|
||||||
- int and float free list blocks
|
- int and float free list blocks
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue