[Cython] Fused types don't work with cdef classes?
Dave Hirschfeld
dave.hirschfeld at gmail.com
Wed Feb 13 09:16:07 CET 2013
Robert Bradshaw <robertwb at ...> writes:
>
> Yes, this is a bug; there is a bad interaction between fused types and
> special methods.
>
> I created http://trac.cython.org/cython_trac/ticket/802
>
Thanks for following up. My actual use-case was to allow either 1D or 2D
MemoryView inputs to a function by simply transforming the 1D MemoryView
to a column vector.
For now the workaround is to simply disallow 1D inputs, but it would be nice to
have it working.
Thanks,
Dave
More information about the cython-devel
mailing list