On Tue, Mar 22, 2011 at 7:21 AM, Simon Anders wrote:
> Hi,
>
> I found a little bug in Cython 0.14.1.
>
> The following causes the Cython compiler to throw an exception:
>
> ---8<---
> cdef extern from "foo.h":
> cdef cppclass foo[ T ]:
> bar( int b = 0 )
>
> cdef foo[ int ] a
> a.bar( 1 )
Hi,
I found a little bug in Cython 0.14.1.
The following causes the Cython compiler to throw an exception:
---8<---
cdef extern from "foo.h":
cdef cppclass foo[ T ]:
bar( int b = 0 )
cdef foo[ int ] a
a.bar( 1 )
---8<---
The exception is "AttributeError: 'CFuncType' object has no a