[Cython] Problems in Py 3.0.1
Stefan Behnel
stefan_ml at behnel.de
Sat Feb 21 22:35:17 CET 2009
Lisandro Dalcin wrote:
> Stefan, in Py3, PyInt is gone and we only have PyLong. Then the code
> follows other path.
>
> Some days ago I filed an issue and provided a patch wich was accepted,
> now core Python (2.7 and 3.1) will raise OverflowError...
Right, I found that in the back of my head after writing the mail.
> If you want, I can implement some vile hackery, I just need to check
> myself if the PyLong is negative (PyLong implementation abuses the
> tp_size member of the object struct to carry the sign)
No, for now, I'm fine with whatever Python does here. I pushed a fix for
the test case.
Stefan
More information about the Cython-dev
mailing list