Hi,
I noticed that Cython currently fails to do this:
cdef int (*int_abs)(int x)
cdef object py_abs
py_abs = int_abs = abs
Here, abs() is an overloaded function with a couple of C signatures (fabs()
and friends) and a Python signature (the builtin). While there is code in
On 9 February 2013 03:44, Stefan Behnel stefan...@behnel.de wrote:
Hi,
I noticed that Cython currently fails to do this:
cdef int (*int_abs)(int x)
cdef object py_abs
py_abs = int_abs = abs
Here, abs() is an overloaded function with a couple of C signatures (fabs()
and friends)
mark florisson, 10.02.2013 03:25:
On 9 February 2013 03:44, Stefan Behnel stefan...@behnel.de wrote:
Hi,
I noticed that Cython currently fails to do this:
cdef int (*int_abs)(int x)
cdef object py_abs
py_abs = int_abs = abs
Here, abs() is an overloaded function with a couple of