comparison Python/pythonrun.c @ 75147:0abffbe7cf22 2.7

Fix crash at startup with -W options.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 21 Feb 2012 20:42:48 +0100
parents a0f43f4481e0
children f9fdf519bca5
comparison
equal deleted inserted replaced
75140:e78acdb54841 75147:0abffbe7cf22
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 */