On Thu, May 5, 2011 at 9:54 AM, Robert Kern <robert.k...@gmail.com> wrote: > On Thu, May 5, 2011 at 02:29, Christoph Groth <c...@falma.de> wrote: >> Has something like __index_iadd__ ever been considered seriously? Not >> to my (limited) knowledge. > > Only on this list, I think. :-) > > I don't think it will ever happen. Only numpy really cares about it, > and adding another __special__ method for each __iop__ is a lot of > additional methods that need to be supported.
Maybe in the context of PyPy someone will come up with a clever way to implement template-expression style operator fusion for numpy. That'd be kinda neat. -- Nathaniel _______________________________________________ NumPy-Discussion mailing list NumPy-Discussion@scipy.org http://mail.scipy.org/mailman/listinfo/numpy-discussion