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 veky
Recipients Devin Jeanpierre, docs@python, rhettinger, serhiy.storchaka, veky
Date 2016-09-19.05:15:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1474262154.0.0.196922495739.issue28197@psf.upfronthosting.co.za>
In-reply-to
Content
Yes, I agree these are useless _if you know you're dealing with range_. However, if you have a Sequence, it would be very useful not to have range be a special case.

Of course, one solution is to have a default .index implementation in the Sequence ABC itself, but still I'd argue that range can implement the 3-arg .index much better than generic Sequence.
History
Date User Action Args
2016-09-19 05:15:54vekysetrecipients: + veky, rhettinger, Devin Jeanpierre, docs@python, serhiy.storchaka
2016-09-19 05:15:54vekysetmessageid: <1474262154.0.0.196922495739.issue28197@psf.upfronthosting.co.za>
2016-09-19 05:15:53vekylinkissue28197 messages
2016-09-19 05:15:53vekycreate