[Cython] C int division by zero

Dag Sverre Seljebotn dagss at student.matnat.uio.no
Wed Apr 15 08:49:27 CEST 2009


Robert Bradshaw wrote:
> 
> OK, pushed. http://hg.cython.org/cython-devel/rev/a09a309febdc

Note that this now segfaults:

@cython.cdivision(False)
def f():
     cdef int a=10, b=0
     with nogil:
         a = a // b
     return a

-- 
Dag Sverre


More information about the Cython-dev mailing list