On Monday, October 7, 2013 11:35:47 AM UTC-7, Volker Braun wrote: > > I think you are missing the point that it is supposed to be a mixin class. > Ah, right. Perhaps it could be used like that, and it looks like it was before pyrexification. Presently it's just not used at all, and its last use wasn't as a mixin due to cython inheritance issues.
In particular, the doctests on Mutability are misleading: they don't test the actual code at all (they probably did until 2006), There is a `reduce` method defined on Mutability, but its implementation would not play well as a mixin class at all. A little archaeology shows where the disconnect happened (back in 2006): http://hg.sagemath.org/sage-main/commits/4bf43b01186997720fe146c9a04773aa0a400f80 Given that Mutability will not mix in with virtually any base class in sage, I'm not so sure the thing is useful in its current cdef class form. Worse, it may invite misguided attempts as in matrix where its use was both inconvenient and inefficient. -- 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/groups/opt_out.