Hi Jean-Pierre, thanks a lot for looking into this.
On Sat, 26 Nov 2011 13:13:49 -0800 (PST) Jean-Pierre Flori <jpfl...@gmail.com> wrote: > By the way: > - I used Burcin's patch, somehow I could not use Florent's one > - The patch is based on pynac-0.2.2, but applies on 0.2.3 > Here is the output of the patch version > sage: class bla(SageObject): > ....: def __add__(self, other): > ....: print "Add" > ....: > sage: m1 = bla() > sage: m2 = bla() > sage: a = x.ind[m1] > sage: b = x.ind[m2] > sage: a+b > x.<class '__main__.bla'> + x.<class '__main__.bla'> > sage: a+a > 2*x.<class '__main__.bla'> Your patch for pynac works great here. Starting from plain Sage-4.7.2 and pynac-0.2.3, doctesting the usual suspects (sage/{symbolic,calculus,functions}) shows only a couple of printing differences. Considering this change within the context of #9880, they are mostly harmless. :) I merged your patch in my pynac queue [1]. We'll have to sort out the headers once #9880 is done and we're making the pynac release. [1] https://bitbucket.org/burcin/pynac-patches/src Florent, shall we create a temporary pynac spkg so you can carry on with your work on indexed expressions? Cheers, Burcin -- To post to this group, send an email to sage-devel@googlegroups.com To unsubscribe from this group, send an email to sage-devel+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-devel URL: http://www.sagemath.org