Re: [Cython] Problem with final cdef methods

2013-08-28 Thread Stefan Behnel
Nikita Nemkin, 29.08.2013 08:24: > On Thu, 29 Aug 2013 11:03:01 +0600, Stefan Behnel wrote: >> http://trac.cython.org/cython_trac/ticket/819 > > As your ticket mentions, there is a fundamental problem with method > inheritance. > (and with the way Cython generates forward declarations...) > > Any

Re: [Cython] Problem with final cdef methods

2013-08-28 Thread Nikita Nemkin
On Thu, 29 Aug 2013 11:03:01 +0600, Stefan Behnel wrote: 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 the

Re: [Cython] [cython-users] Re: wiki spam

2013-08-28 Thread Robert Bradshaw
On Wed, Aug 28, 2013 at 11:53 AM, William Stein wrote: > On Wed, Aug 28, 2013 at 10:12 AM, Lars Buitinck wrote: >> 2013/8/28 : >>> On Wednesday, August 28, 2013 10:29:35 AM UTC-4, Josh Ayers wrote: I just noticed one of the pages on the Cython wiki was changed to spam. See the pag

Re: [Cython] Problem with final cdef methods

2013-08-28 Thread Vitja Makarov
2013/8/29 Stefan Behnel : > 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 g

[Cython] Problem with final cdef methods

2013-08-28 Thread Stefan Behnel
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