diff Include/bytesobject.h @ 65494:e8969fb822fc

make hashes always the size of pointers; introduce Py_hash_t #9778
author Benjamin Peterson <benjamin@python.org>
date Sun, 17 Oct 2010 20:54:53 +0000
parents b653eab13b73
children 62b61abd02b8
line wrap: on
line diff
--- a/Include/bytesobject.h	Sun Oct 17 20:17:41 2010 +0000
+++ b/Include/bytesobject.h	Sun Oct 17 20:54:53 2010 +0000
@@ -29,7 +29,7 @@
 
 typedef struct {
     PyObject_VAR_HEAD
-    long ob_shash;
+    Py_hash_t ob_shash;
     char ob_sval[1];
 
     /* Invariants: