[Cython] bug when using the built-in fused type cython.numeric

mark florisson markflorisson88 at gmail.com
Wed May 23 19:01:03 CEST 2012


On 23 May 2012 17:05, Jonathan De Wachter <dewachter.jonathan at gmail.com> wrote:
> It must probably be a known bug since the minimal code that reproduces this
> bug can be anything using the built-in type cython.numeric.
>
> cimport cython
>
> cdef class Foo:
>      cdef cython.numeric bar
>
> Cython version: 0.16 (last release)
>
> I didn't find this bug in the bug trackers that's why I'm mailing you. By
> the way, it's the first time I'm using a mail list, if I'm doing wrong,
> please let me know.
>
>
> _______________________________________________
> cython-devel mailing list
> cython-devel at python.org
> http://mail.python.org/mailman/listinfo/cython-devel
>

Thanks for the report, I pushed two fixes here:
https://github.com/markflorisson88/cython
(cb6a62628f4d89096a8b0cdcc4ad66990141f927 and
0b7c152fda53d6664e355bcc74712639c7d9ff5a, for future reference).  We
were aware of the first problem, but there was a second problem where
complex numbers don't have all their utility code declared properly.


More information about the cython-devel mailing list