Mercurial > cpython-lru_cache-weakref
comparison Python/pythonrun.c @ 75142:0e8bd4785ea0 3.2
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:03:47 +0100 |
| parents | 4a31f6b11e7a |
| children | 43606a4085b0 88aede44ded1 |
comparison
equal
deleted
inserted
replaced
| 75138:bc66484b0d73 | 75142:0e8bd4785ea0 |
|---|---|
| 68 static void call_ll_exitfuncs(void); | 68 static void call_ll_exitfuncs(void); |
| 69 extern void _PyUnicode_Init(void); | 69 extern void _PyUnicode_Init(void); |
| 70 extern void _PyUnicode_Fini(void); | 70 extern void _PyUnicode_Fini(void); |
| 71 extern int _PyLong_Init(void); | 71 extern int _PyLong_Init(void); |
| 72 extern void PyLong_Fini(void); | 72 extern void PyLong_Fini(void); |
| 73 extern void _PyRandom_Init(void); | |
| 74 | 73 |
| 75 #ifdef WITH_THREAD | 74 #ifdef WITH_THREAD |
| 76 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); | 75 extern void _PyGILState_Init(PyInterpreterState *, PyThreadState *); |
| 77 extern void _PyGILState_Fini(void); | 76 extern void _PyGILState_Fini(void); |
| 78 #endif /* WITH_THREAD */ | 77 #endif /* WITH_THREAD */ |
