[Python-ideas] Where did we go wrong with negative stride?
Greg Ewing
greg.ewing at canterbury.ac.nz
Tue Oct 29 05:31:36 CET 2013
Guido van Rossum wrote:
> I'm not sure I like new syntax. We'd still have to find a way to
> represent this with slice() and also with range().
If we allowed slice[...] to create slice objects, any new
indexing syntax would carry over to that.
Similarly we could use range[...] to create ranges using
slice syntax.
--
Greg
More information about the Python-ideas
mailing list