[Cython] inherit from list
Robin Becker
robin at reportlab.com
Wed Apr 22 15:39:38 CEST 2009
Stefan Behnel wrote:
> Robin Becker wrote:
>> Greg Ewing wrote:
>>> FWIW, the current version of Pyrex handles inheriting
>>> from the builtin list type okay, without the need for
>>> any declarations.
>>>
>> yes this code is a bit out of date.
>
> Not out of date (in the sense that it hasn't been worked on), but lacking
> a port. This Pyrex feature dates back to March 2008 (Pyrex 0.9.7, hg rev.
> 26-37). It won't be trivial to port, and from a quick glance, it looks a
> bit like a clever hack. It will likely interfere with Cython's builtin
> caching feature, although that might become redundant in many cases.
> True/False handling is another thing that works different in Cython now,
> so that must be left out.
>
you mistake me :) I was referring to my old pyrex compatible code; I wrote it
about two years ago and pyrex has advanced since then so apparently I don't need
the declarations with modern pyrex.
So far as I'm aware cython is advancing wave upon wave and will eventually win
great victories.
.........
--
Robin Becker
More information about the Cython-dev
mailing list