Robert Bradshaw wrote:
All methods (cdef, cpdef, and def) are virtual by default in Cython,
just like Python.
On Mon, Jun 20, 2016 at 6:08 AM, Jeroen Demeyer <jdeme...@cage.ugent.be> wrote:
I would like to have a "virtual" cpdef method: something which allows a fast
Cython call *when implemented* but without a default implementation.
It sounds like Jeroen really means "abstract" here, not "virtual".
The usual way to do this kind of thing in Python is to write
a stub method that raises NotImplementedError or such like.
--
Greg
_______________________________________________
cython-devel mailing list
cython-devel@python.org
https://mail.python.org/mailman/listinfo/cython-devel