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 martin.panter
Recipients docs@python, kgashok, martin.panter, serhiy.storchaka
Date 2017-09-18.09:11:26
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
The behaviour for searching for empty strings in Python is inconsistent; see Issue 24243. IMO the behaviour for the (r)find/index methods is sensible, but it is worth making the documentation explicit.

The returned indexes you have given (5, 1, and 0) are valid for slicing.
Date User Action Args
2017-09-18 09:11:26martin.pantersetrecipients: + martin.panter, docs@python, serhiy.storchaka, kgashok
2017-09-18 09:11:26martin.pantersetmessageid: <>
2017-09-18 09:11:26martin.panterlinkissue31504 messages
2017-09-18 09:11:26martin.pantercreate