Commit a7bee4dc authored by Stefan Behnel's avatar Stefan Behnel

Merge branch '0.29.x'

parents ce5ca29d 94f409ed
...@@ -366,7 +366,7 @@ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int eq ...@@ -366,7 +366,7 @@ static CYTHON_INLINE int __Pyx_PyBytes_Equals(PyObject* s1, PyObject* s2, int eq
return (equals == Py_EQ); return (equals == Py_EQ);
} else { } else {
int result; int result;
#if CYTHON_USE_UNICODE_INTERNALS #if CYTHON_USE_UNICODE_INTERNALS && (PY_VERSION_HEX < 0x030B0000)
Py_hash_t hash1, hash2; Py_hash_t hash1, hash2;
hash1 = ((PyBytesObject*)s1)->ob_shash; hash1 = ((PyBytesObject*)s1)->ob_shash;
hash2 = ((PyBytesObject*)s2)->ob_shash; hash2 = ((PyBytesObject*)s2)->ob_shash;
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment