This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author steven.daprano
Recipients Arfrever, llllllllll, rhettinger, serhiy.storchaka, steven.daprano
Date 2015-06-04.11:14:19
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm with Serhiy, I don't think we need a "literal", just make slice itself indexable:

reverse = slice(None, None, -1)
reverse = slice[::-1]

The only question in my mind is what slice should do when given just a single index:


I suppose that should be a ValueError?
Date User Action Args
2015-06-04 11:14:19steven.dapranosetrecipients: + steven.daprano, rhettinger, Arfrever, serhiy.storchaka, llllllllll
2015-06-04 11:14:19steven.dapranosetmessageid: <>
2015-06-04 11:14:19steven.dapranolinkissue24379 messages
2015-06-04 11:14:19steven.dapranocreate