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 ethan.furman
Recipients Dutcho, barry, eli.bendersky, ethan.furman
Date 2018-04-04.00:29:54
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Strings are actually the odd-man out -- dicts, sets, lists, tuples, etc., all return False instead of raising TypeError.

The reason str raises an error is because `in`, for str, is a substring check, not a membership check.
Date User Action Args
2018-04-04 00:29:55ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, Dutcho
2018-04-04 00:29:55ethan.furmansetmessageid: <>
2018-04-04 00:29:55ethan.furmanlinkissue33217 messages
2018-04-04 00:29:55ethan.furmancreate