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 nemeskeyd, rhettinger, steve.dower
Date 2021-09-23.17:25:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1632417931.48.0.119292836358.issue45271@roundup.psfhosted.org>
In-reply-to
Content
This is one bit of symmetry that we shouldn't pursue.  The find() methods have been a recurring source of bugs because of failing to check for a -1 result but having that be a valid index into the sequence.

Also, the sequence APIs are long established.  If find() were really needed, we would have felt the pain and added it long ago.

As Steve says, you can take this to python-ideas, but my recommendation is to not do it all.
History
Date User Action Args
2021-09-23 17:25:31rhettingersetrecipients: + rhettinger, nemeskeyd, steve.dower
2021-09-23 17:25:31rhettingersetmessageid: <1632417931.48.0.119292836358.issue45271@roundup.psfhosted.org>
2021-09-23 17:25:31rhettingerlinkissue45271 messages
2021-09-23 17:25:31rhettingercreate