[Cython] Problem with final cdef methods
Stefan Behnel
stefan_ml at behnel.de
Thu Aug 29 07:03:01 CEST 2013
Hi,
I noticed two problems with final cdef methods. When overriding a normal
cdef method with a final cdef method, you currently get a C compiler
warning about a call with the wrong 'self' type, and when you call them
before you declare them in your code, you get an error because the method
is not forward declared.
http://trac.cython.org/cython_trac/ticket/819
I think this suggests that we should try to come up with a cleaner way to
integrate this feature into the function overloading architecture rather
than just remembering their cname and call that.
Stefan
More information about the cython-devel
mailing list