On Mon, Aug 9, 2021 at 10:32 PM Samuel Freilich <sfreil...@google.com> wrote:
>
> > that can be used (eg) for indexing
>
> Even without it being used in as complicated a way as that it's still not 
> backward compatible because of the trivial case, as foo.endswith("") is True.
>

I was talking specifically about the original, which can be depended
upon to return True or False. Changing the return value would break
anything that depends on that.

Not sure what you're referring to.

ChrisA
_______________________________________________
Python-ideas mailing list -- python-ideas@python.org
To unsubscribe send an email to python-ideas-le...@python.org
https://mail.python.org/mailman3/lists/python-ideas.python.org/
Message archived at 
https://mail.python.org/archives/list/python-ideas@python.org/message/PL7OP6WC36TB5TGXB3LTYC7KYP454UZG/
Code of Conduct: http://python.org/psf/codeofconduct/

Reply via email to