Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 22883:d8bc68cb17e0 legacy-trunk
Move Unicode finalization further down in the chain.
Fixes bug #525620.
| author | Marc-André Lemburg <mal@egenix.com> |
|---|---|
| date | Mon, 08 Apr 2002 08:19:36 +0000 |
| parents | 253de588f2fb |
| children | e2848618bd19 |
comparison
equal
deleted
inserted
replaced
| 22878:3a6718b9b65a | 22883:d8bc68cb17e0 |
|---|---|
| 217 interp = tstate->interp; | 217 interp = tstate->interp; |
| 218 | 218 |
| 219 /* Disable signal handling */ | 219 /* Disable signal handling */ |
| 220 PyOS_FiniInterrupts(); | 220 PyOS_FiniInterrupts(); |
| 221 | 221 |
| 222 #ifdef Py_USING_UNICODE | |
| 223 /* Cleanup Unicode implementation */ | |
| 224 _PyUnicode_Fini(); | |
| 225 #endif | |
| 226 | |
| 227 /* Cleanup Codec registry */ | 222 /* Cleanup Codec registry */ |
| 228 _PyCodecRegistry_Fini(); | 223 _PyCodecRegistry_Fini(); |
| 229 | 224 |
| 230 /* Destroy all modules */ | 225 /* Destroy all modules */ |
| 231 PyImport_Cleanup(); | 226 PyImport_Cleanup(); |
| 265 PyCFunction_Fini(); | 260 PyCFunction_Fini(); |
| 266 PyTuple_Fini(); | 261 PyTuple_Fini(); |
| 267 PyString_Fini(); | 262 PyString_Fini(); |
| 268 PyInt_Fini(); | 263 PyInt_Fini(); |
| 269 PyFloat_Fini(); | 264 PyFloat_Fini(); |
| 265 | |
| 266 #ifdef Py_USING_UNICODE | |
| 267 /* Cleanup Unicode implementation */ | |
| 268 _PyUnicode_Fini(); | |
| 269 #endif | |
| 270 | 270 |
| 271 /* XXX Still allocated: | 271 /* XXX Still allocated: |
| 272 - various static ad-hoc pointers to interned strings | 272 - various static ad-hoc pointers to interned strings |
| 273 - int and float free list blocks | 273 - int and float free list blocks |
| 274 - whatever various modules and libraries allocate | 274 - whatever various modules and libraries allocate |
