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 vstinner
Recipients SilentGhost, Stéphane Henriot, ericvw, georg.brandl, martin.panter, r.david.murray, serhiy.storchaka, vstinner
Date 2019-10-28.16:50:02
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1572281402.72.0.915493421409.issue28029@roundup.psfhosted.org>
In-reply-to
Content
> What result would you expect of `"" in ""` and `"".count("")`?

I don't suggest to change these operator and method:

>>> "" in ""
True
>>> "".count("")
1
History
Date User Action Args
2019-10-28 16:50:02vstinnersetrecipients: + vstinner, georg.brandl, ericvw, r.david.murray, SilentGhost, martin.panter, serhiy.storchaka, Stéphane Henriot
2019-10-28 16:50:02vstinnersetmessageid: <1572281402.72.0.915493421409.issue28029@roundup.psfhosted.org>
2019-10-28 16:50:02vstinnerlinkissue28029 messages
2019-10-28 16:50:02vstinnercreate