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 _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
