comparison Python/pythonrun.c @ 22886:c0dd8bbdde60 2.2

This may well be my final checkin before 2.2.1. If you think I've forgotten something, now is a good time to howl (although I won't read the howl for a good few hours 'cause I'm going home). backport lemburg's checkin of revision 2.158 of pythonrun.c Move Unicode finalization further down in the chain. Fixes bug #525620.
author Michael W. Hudson <mwh@python.net>
date Mon, 08 Apr 2002 17:00:54 +0000
parents d4406fbfcb4e
children f6e46585b6b3
comparison
equal deleted inserted replaced
22884:5d383006d36b 22886:c0dd8bbdde60
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