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 rhettinger
Recipients marcospb19, remi.lapeyre, rhettinger
Date 2020-05-06.15:30:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1588779009.83.0.166106332601.issue40531@roundup.psfhosted.org>
In-reply-to
Content
Please take this to Python ideas.  My understanding is that index() is supposed to be the one-way-to-do-it going forward.  The find() API proved to be problematic because -1 is a valid index and people were hitting bugs by failing to check for the -1 and then doing an unintended s[-1].
History
Date User Action Args
2020-05-06 15:30:09rhettingersetrecipients: + rhettinger, remi.lapeyre, marcospb19
2020-05-06 15:30:09rhettingersetmessageid: <1588779009.83.0.166106332601.issue40531@roundup.psfhosted.org>
2020-05-06 15:30:09rhettingerlinkissue40531 messages
2020-05-06 15:30:09rhettingercreate