Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 39455:ed65765eb679 legacy-trunk
Whoops, how did that get in there. :-) Revert all the parts of 51227 that were not supposed to go it. Only Modules/_ctypes/cfields.c was supposed to be changed
| author | Neal Norwitz <nnorwitz@gmail.com> |
|---|---|
| date | Sat, 12 Aug 2006 02:12:30 +0000 |
| parents | 9a1288d8200f |
| children | deb748f33c1d |
comparison
equal
deleted
inserted
replaced
| 39454:9a1288d8200f | 39455:ed65765eb679 |
|---|---|
| 58 static void initsigs(void); | 58 static void initsigs(void); |
| 59 static void call_sys_exitfunc(void); | 59 static void call_sys_exitfunc(void); |
| 60 static void call_ll_exitfuncs(void); | 60 static void call_ll_exitfuncs(void); |
| 61 extern void _PyUnicode_Init(void); | 61 extern void _PyUnicode_Init(void); |
| 62 extern void _PyUnicode_Fini(void); | 62 extern void _PyUnicode_Fini(void); |
| 63 extern void _PyEval_FiniThreads(void); | |
| 64 | 63 |
| 65 #ifdef WITH_THREAD | 64 #ifdef WITH_THREAD |
| 66 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); | 65 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); |
| 67 extern void _PyGILState_Fini(void); | 66 extern void _PyGILState_Fini(void); |
| 68 #endif /* WITH_THREAD */ | 67 #endif /* WITH_THREAD */ |
| 459 | 458 |
| 460 #ifdef Py_USING_UNICODE | 459 #ifdef Py_USING_UNICODE |
| 461 /* Cleanup Unicode implementation */ | 460 /* Cleanup Unicode implementation */ |
| 462 _PyUnicode_Fini(); | 461 _PyUnicode_Fini(); |
| 463 #endif | 462 #endif |
| 464 | |
| 465 _PyEval_FiniThreads(); | |
| 466 | 463 |
| 467 /* XXX Still allocated: | 464 /* XXX Still allocated: |
| 468 - various static ad-hoc pointers to interned strings | 465 - various static ad-hoc pointers to interned strings |
| 469 - int and float free list blocks | 466 - int and float free list blocks |
| 470 - whatever various modules and libraries allocate | 467 - whatever various modules and libraries allocate |
