......... > > Yes, that warning is currently a bit misleading in this specific case, as > there is not yet a way to achieve inheritance of builtin types without the > above declaration. It's meant more for code that uses the declared type in > other places than supertypes, where Cython now handles these types better > on its own. > > This is what ticket #258 is supposed to mean. > > http://trac.cython.org/cython_trac/ticket/258 > > See also ticket #170: > > http://trac.cython.org/cython_trac/ticket/170 > > If you use the "list" type only for subtypes, just ignore the warning. It > will become an error once Cython can deal with this case directly, so you > will notice when it's time to remove the declaration. > > Stefan ......
OK thanks. I noticed that all seems to work. Is the intent to allow inheriting from builtin types to be handled automatically as it is in python where list is both a constructor and a type? -- Robin Becker _______________________________________________ Cython-dev mailing list [email protected] http://codespeak.net/mailman/listinfo/cython-dev
