Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 75148:76d72e92fdea 2.6
Fix crash at startup with -W options.
| author | Antoine Pitrou <solipsis@pitrou.net> |
|---|---|
| date | Tue, 21 Feb 2012 20:42:48 +0100 |
| parents | 6b7704fe1be1 |
| children | f9fdf519bca5 |
comparison
equal
deleted
inserted
replaced
| 75134:54a78290a75d | 75148:76d72e92fdea |
|---|---|
| 65 static void wait_for_thread_shutdown(void); | 65 static void wait_for_thread_shutdown(void); |
| 66 static void call_sys_exitfunc(void); | 66 static void call_sys_exitfunc(void); |
| 67 static void call_ll_exitfuncs(void); | 67 static void call_ll_exitfuncs(void); |
| 68 extern void _PyUnicode_Init(void); | 68 extern void _PyUnicode_Init(void); |
| 69 extern void _PyUnicode_Fini(void); | 69 extern void _PyUnicode_Fini(void); |
| 70 extern void _PyRandom_Init(void); | |
| 71 | 70 |
| 72 #ifdef WITH_THREAD | 71 #ifdef WITH_THREAD |
| 73 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); | 72 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); |
| 74 extern void _PyGILState_Fini(void); | 73 extern void _PyGILState_Fini(void); |
| 75 #endif /* WITH_THREAD */ | 74 #endif /* WITH_THREAD */ |
