On Mon, Jan 18, 2010 at 13:51, Russel Howe <[email protected]> wrote: > Since they are iterators, is it possible to check for the second > condition and reverse both of them so the behavior I expect happens or > does this break something else?
In general, no I don't think it would be possible. It would create a weird special case in the semantics, and slow down common assignments that don't have the issue. It would be nice to have a fast in-place roll(), though this is not how one should implement it. -- Robert Kern "I have come to believe that the whole world is an enigma, a harmless enigma that is made terrible by our own mad attempt to interpret it as though it had an underlying truth." -- Umberto Eco _______________________________________________ NumPy-Discussion mailing list [email protected] http://mail.scipy.org/mailman/listinfo/numpy-discussion
