[Python-ideas] Where did we go wrong with negative stride?

Andrew Barnert abarnert at yahoo.com
Tue Oct 29 08:59:07 CET 2013


On Oct 28, 2013, at 21:39, Tim Peters <tim.peters at gmail.com> wrote:

> BTW, do you know of any real code that uses a negative stride other
> than -1?  Still looking for a real example of that.

No. Which is exactly why I suggested just making it illegal instead of giving it a new (somewhat less confusing, but still not obvious) meaning. It doesn't much matter which one is "right" if neither one is useful, does it?


More information about the Python-ideas mailing list