> This obscures the intent of the code by abusing a C keyword, just
> borrow the Java keyword that already has the associated semantics:
>
> cdef final small_method(self, x):

I think a decorator would be better than a keyword:

@cython.nonvirtual
cdef void small_method(self, x):
    pass

In a perfect world, Cython should just look like a Python library.

Also I agree that the C/C++ semantics of inline should be kept. Or
preferably, inline should just be a decorator as well.

@cython.nonvirtual
@cython.inline
cdef void small_method(self, x):
    pass



S.M.

_______________________________________________
Cython-dev mailing list
[email protected]
http://codespeak.net/mailman/listinfo/cython-dev

Reply via email to