On Sun, Jan 18, 2015 at 2:17 AM, Nicolas M. Thiery
<nicolas.thi...@u-psud.fr> wrote:
>         Hi Robert,
>
> On Tue, Jan 13, 2015 at 06:11:09PM -0800, Robert Bradshaw wrote:
>> :). It might be possible, but it'd be really, really messy (messier
>> than it is in C++, because one needs the shared PyObject_HEAD to be
>> correctly accessed by all the Python C API framework).
>
> Didn't you mention at some point that, for purely abstract classes
> (like those from categories), this would be not so bad?

True. Or the diamond pattern without any members added along one of
the branches. But there's still the issue that if I had

    cdef class A(object): pass
    cdef class B(object): pass

and someone else wrote

    cdef class C(A, B): ...

now adding members to A and B would unknowingly break C which used to be valid.

- Robert

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at http://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to