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 abarry, ethan.furman, josh.r, r.david.murray, rhettinger, seblin, socketpair
Date 2019-08-23.05:29:14
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
> If I were trying to channel Raymond I'd suggest posting the 
> python as a recipe and see if there is uptake.  However, I
>  could be wrong and he might be interested.  (I can't say 
> that I've ever needed this check myself.)

Yes, exactly :-)

Sebastian, thanks for the suggestion.

I am going to decline this for collections and itertools based on the relative infrequency of need (for us, it usually only comes up in the context of strings).

FWIW, there may be algorithmically more advanced techniques that might be worth looking into: knuth-morris-pratt, rabin-karp, etc.

Please do post this to the Python Package Index or someother place where people can get to it if the need arises.
Date User Action Args
2019-08-23 05:29:14rhettingersetrecipients: + rhettinger, r.david.murray, ethan.furman, socketpair, josh.r, abarry, seblin
2019-08-23 05:29:14rhettingersetmessageid: <>
2019-08-23 05:29:14rhettingerlinkissue25898 messages
2019-08-23 05:29:14rhettingercreate