[issue33217] x in enum.Flag member is True when x is not a Flag

Ethan Furman report at bugs.python.org
Mon Sep 10 14:21:09 EDT 2018


Ethan Furman <ethan at stoneleaf.us> added the comment:


New changeset 9430652535f88125d8003f342a8884d34885d876 by Ethan Furman (Rahul Jha) in branch 'master':
bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)
https://github.com/python/cpython/commit/9430652535f88125d8003f342a8884d34885d876


----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33217>
_______________________________________


More information about the Python-bugs-list mailing list