diff Include/object.h @ 75127:160a56eac332 3.1

ensure no one tries to hash things before the random seed is found
author Benjamin Peterson <benjamin@python.org>
date Tue, 21 Feb 2012 11:08:50 -0500
parents f4b7ecf8a5f8
children eb07691f2c29
line wrap: on
line diff
--- a/Include/object.h	Mon Feb 20 22:06:02 2012 +0100
+++ b/Include/object.h	Tue Feb 21 11:08:50 2012 -0500
@@ -479,6 +479,10 @@
 } _Py_HashSecret_t;
 PyAPI_DATA(_Py_HashSecret_t) _Py_HashSecret;
 
+#ifdef Py_DEBUG
+PyAPI_DATA(int) _Py_HashSecret_Initialized;
+#endif
+
 /* Helper for passing objects to printf and the like */
 #define PyObject_REPR(obj) _PyUnicode_AsString(PyObject_Repr(obj))