comparison Python/pythonrun.c @ 75143:88aede44ded1

Fix test failure in test_cmd_line by initializing the hash secret at the earliest point.
author Antoine Pitrou <solipsis@pitrou.net>
date Tue, 21 Feb 2012 19:08:26 +0100
parents ed76dc34b39d 0e8bd4785ea0
children b299c4f31ff2
comparison
equal deleted inserted replaced
75141:2fed68cf102a 75143:88aede44ded1
71 extern void _PyUnicode_Fini(void); 71 extern void _PyUnicode_Fini(void);
72 extern int _PyLong_Init(void); 72 extern int _PyLong_Init(void);
73 extern void PyLong_Fini(void); 73 extern void PyLong_Fini(void);
74 extern int _PyFaulthandler_Init(void); 74 extern int _PyFaulthandler_Init(void);
75 extern void _PyFaulthandler_Fini(void); 75 extern void _PyFaulthandler_Fini(void);
76 extern void _PyRandom_Init(void);
77 76
78 #ifdef WITH_THREAD 77 #ifdef WITH_THREAD
79 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); 78 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *);
80 extern void _PyGILState_Fini(void); 79 extern void _PyGILState_Fini(void);
81 #endif /* WITH_THREAD */ 80 #endif /* WITH_THREAD */