summaryrefslogtreecommitdiffstats
path: root/Modules
diff options
context:
space:
mode:
authorBenjamin Peterson <benjamin@python.org>2012-02-21 16:09:13 (GMT)
committerBenjamin Peterson <benjamin@python.org>2012-02-21 16:09:13 (GMT)
commite249dcab7ad8b1bd3b84a44974cfe2746e4269d1 (patch)
treeeaf152bad01062780b3901e1c27ab6e2719b6eaf /Modules
parent4fe85abab9f0188733e654a72353217b43f95920 (diff)
parent69e9727657dad167215b656de910d95cefe1ee45 (diff)
downloadcpython-e249dcab7ad8b1bd3b84a44974cfe2746e4269d1.zip
cpython-e249dcab7ad8b1bd3b84a44974cfe2746e4269d1.tar.gz
cpython-e249dcab7ad8b1bd3b84a44974cfe2746e4269d1.tar.bz2
merge 3.2
Diffstat (limited to 'Modules')
-rw-r--r--Modules/_datetimemodule.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/Modules/_datetimemodule.c b/Modules/_datetimemodule.c
index 85c5c4d..8f571ad 100644
--- a/Modules/_datetimemodule.c
+++ b/Modules/_datetimemodule.c
@@ -2784,6 +2784,7 @@ generic_hash(unsigned char *data, int len)
register unsigned char *p;
register Py_hash_t x;
+ assert(_Py_HashSecret_Initialized);
p = (unsigned char *) data;
x = _Py_HashSecret.prefix;
x ^= *p << 7;