[Python-Dev] Enum, Flag, __contains__, and False vs TypeError
Ethan Furman
ethan at stoneleaf.us
Wed Apr 4 17:36:10 EDT 2018
More information about the Python-Dev mailing list
Wed Apr 4 17:36:10 EDT 2018
- Previous message (by thread): [Python-Dev] Enum, Flag, __contains__, and False vs TypeError
- Next message (by thread): [Python-Dev] ssl module and LibreSSL CVE-2018-8970
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
On 04/04/2018 02:12 PM, Guido van Rossum wrote: > I don't think of "in" as an equality test -- it's special just like <, <=, > >, >= are special, and those can certainly raise TypeError. Good to know, thank you! -- ~Ethan~
- Previous message (by thread): [Python-Dev] Enum, Flag, __contains__, and False vs TypeError
- Next message (by thread): [Python-Dev] ssl module and LibreSSL CVE-2018-8970
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
More information about the Python-Dev mailing list