[sage-devel] Re: sibling_cdef

2006-10-23 Thread David Harvey
On Oct 23, 2006, at 12:16 AM, William Stein wrote: > Perhaps there is a fast way to tell whether a class is a Python class > or a Pyrex > class (say in the base class __add__ method), and always call > _add_sibling_cdef > if it's a Pyrex class and _add_sibling if it's a Python class. There

[sage-devel] Re: sibling_cdef

2006-10-23 Thread David Harvey
On Oct 23, 2006, at 12:16 AM, William Stein wrote: > David H, > > Hi -- I'm concerned because I think the __add__, etc., architecture > that you > guys came up with (as of now) prevents implementation of any derived > class's > arithmetic in Python. [...] Wow, you're absolutely right, that r