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 serhiy.storchaka
Recipients Ronan.Lamy, barry, r.david.murray, serhiy.storchaka
Date 2017-11-08.20:37:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1510173468.85.0.213398074469.issue31984@psf.upfronthosting.co.za>
In-reply-to
Content
For the justification of the find() behavior see msg243668.

But the largest argument for this behavior is that find() have it for a long time. Changing it will break existing code that depends on it.

This argument is weaker in the case of startwith() and endwith() because their behavior for bytes and Unicode was inconsistent. But the consistency with find() plays a role.
History
Date User Action Args
2017-11-08 20:37:48serhiy.storchakasetrecipients: + serhiy.storchaka, barry, r.david.murray, Ronan.Lamy
2017-11-08 20:37:48serhiy.storchakasetmessageid: <1510173468.85.0.213398074469.issue31984@psf.upfronthosting.co.za>
2017-11-08 20:37:48serhiy.storchakalinkissue31984 messages
2017-11-08 20:37:48serhiy.storchakacreate