diff options
author | Stefan Behnel <stefan_ml@behnel.de> | 2016-11-27 12:04:03 +0100 |
---|---|---|
committer | Stefan Behnel <stefan_ml@behnel.de> | 2016-11-27 12:04:03 +0100 |
commit | 0ed6a47d1eb428946c8a88fc5471330ae337bb29 (patch) | |
tree | 837105ed08ff97dde2e6682f36fd5bbd1daf910a | |
parent | e4fcfa3bb92d12585a303d0c38cf1ba8efdcf254 (diff) | |
download | cython-0ed6a47d1eb428946c8a88fc5471330ae337bb29.tar.gz |
Revert "Disable pylong optimizations on 32-bit."
This reverts commit e4fcfa3bb92d12585a303d0c38cf1ba8efdcf254.
-rw-r--r-- | Cython/Utility/Optimize.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/Cython/Utility/Optimize.c b/Cython/Utility/Optimize.c index 1edad81e5..9de085bbc 100644 --- a/Cython/Utility/Optimize.c +++ b/Cython/Utility/Optimize.c @@ -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; |