[Cython] All DEF constants are now unsigned?

Jeroen Demeyer jdemeyer at cage.ugent.be
Sat Sep 5 13:49:15 CEST 2015


This is a bug:

DEF myconst = 1
def foo():
     cdef long x = -myconst
     return x

This returns 4294967295.


More information about the cython-devel mailing list