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 ammar2
Recipients ammar2, corona10, mark.dickinson, pablogsal, serhiy.storchaka, vstinner
Date 2020-10-01.23:17:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1601594231.29.0.612489957035.issue41902@roundup.psfhosted.org>
In-reply-to
Content
Out of curiosity, what is the motivation for this optimization? 

Is there reason to believe that range.index is performed often enough that it's worth the extra code and maintenance cost here?
History
Date User Action Args
2020-10-01 23:17:11ammar2setrecipients: + ammar2, mark.dickinson, vstinner, serhiy.storchaka, corona10, pablogsal
2020-10-01 23:17:11ammar2setmessageid: <1601594231.29.0.612489957035.issue41902@roundup.psfhosted.org>
2020-10-01 23:17:11ammar2linkissue41902 messages
2020-10-01 23:17:10ammar2create