mirror of
https://github.com/python/cpython.git
synced 2025-08-31 05:58:33 +00:00
merge 3.2
This commit is contained in:
commit
e249dcab7a
5 changed files with 15 additions and 4 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue