diff Objects/object.c @ 75129:e0d451e24c43

merge 3.2
author Benjamin Peterson <benjamin@python.org>
date Tue, 21 Feb 2012 11:12:14 -0500
parents ed76dc34b39d
children 3f9b3b6f7ff0
line wrap: on
line diff
--- a/Objects/object.c	Tue Feb 21 13:59:34 2012 +0200
+++ b/Objects/object.c	Tue Feb 21 11:12:14 2012 -0500
@@ -763,6 +763,7 @@
       We make the hash of the empty string be 0, rather than using
       (prefix ^ suffix), since this slightly obfuscates the hash secret
     */
+    assert(_Py_HashSecret_Initialized);
     if (len == 0) {
         return 0;
     }