--HG--
extra : transplant_source : %B2%2Cy%7D%FD%EBA%B6t%E7%99%FE%8D%B0f%9BN%98%C7%0C
else
return (%(type)s)__Pyx_PyInt_AsSignedLongLong(x);
} else {
+ #if CYTHON_COMPILING_IN_PYPY && !defined(_PyLong_AsByteArray)
+ PyErr_SetString(PyExc_RuntimeError,
+ "_PyLong_AsByteArray() not available in PyPy, cannot convert large numbers");
+ #else
%(type)s val;
PyObject *v = __Pyx_PyNumber_Int(x);
#if PY_VERSION_HEX < 0x03000000
if (likely(!ret))
return val;
}
+ #endif
return (%(type)s)-1;
}
}