diff Objects/object.c @ 76193:c20f604a2da6

merge 3.2 (#14509)
author Benjamin Peterson <benjamin@python.org>
date Mon, 09 Apr 2012 15:04:39 -0400
parents fb907ee4fdfa
children 6e5855854a2e
line wrap: on
line diff
--- a/Objects/object.c	Mon Apr 09 20:31:15 2012 +0200
+++ b/Objects/object.c	Mon Apr 09 15:04:39 2012 -0400
@@ -763,7 +763,9 @@
       We make the hash of the empty string be 0, rather than using
       (prefix ^ suffix), since this slightly obfuscates the hash secret
     */
+#ifdef Py_DEBUG
     assert(_Py_HashSecret_Initialized);
+#endif
     if (len == 0) {
         return 0;
     }