Thanks to visit codestin.com Credit goes to github.com
We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent bc82ab1 commit 95de5c1Copy full SHA for 95de5c1
1 file changed
Python/pythonrun.c
@@ -219,11 +219,6 @@ Py_Finalize(void)
219
/* Disable signal handling */
220
PyOS_FiniInterrupts();
221
222
-#ifdef Py_USING_UNICODE
223
- /* Cleanup Unicode implementation */
224
- _PyUnicode_Fini();
225
-#endif
226
-
227
/* Cleanup Codec registry */
228
_PyCodecRegistry_Fini();
229
@@ -268,6 +263,11 @@ Py_Finalize(void)
268
263
PyInt_Fini();
269
264
PyFloat_Fini();
270
265
266
+#ifdef Py_USING_UNICODE
267
+ /* Cleanup Unicode implementation */
+ _PyUnicode_Fini();
+#endif
+
271
/* XXX Still allocated:
272
- various static ad-hoc pointers to interned strings
273
- int and float free list blocks
0 commit comments