Commit 0ed6a47d authored by Stefan Behnel's avatar Stefan Behnel

Revert "Disable pylong optimizations on 32-bit."

This reverts commit e4fcfa3b.
parent e4fcfa3b
......@@ -606,13 +606,6 @@ static PyObject* __Pyx_PyInt_{{op}}{{order}}(PyObject *op1, PyObject *op2, CYTHO
}
#endif
{{if op == 'Lshift'}}
// Work around Github #1530.
if (sizeof(long) < 8) {
return PyNumber_Lshift(op1, op2);
}
{{endif}}
#if CYTHON_USE_PYLONG_INTERNALS
if (likely(PyLong_CheckExact({{pyval}}))) {
const long {{'a' if order == 'CObj' else 'b'}} = intval;
......
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