[Python-Dev] Three argument slices.
Guido van Rossum
guido@python.org
Mon, 06 Nov 2000 10:41:02 -0500
> While updating the difference page in the Jython documentation, I came
> across this:
>
> - JPython sequences support three argument slices. i.e.
> range(3)[::-1] == [2,1,0].
> CPython should be fixed.
>
> Is this actually true? Should (and will cpython) change in this respect?
Good question. I haven't pronounced on Michael's patch
http://sourceforge.net/patch/?func=detailpatch&patch_id=100998&group_id=5470
because I don't know whether this is really a good idea. I don't know
that I ever *will* pronounce uness someone points out how useful it is
for some practical application.
--Guido van Rossum (home page: http://www.python.org/~guido/)