On Mon, 15 Mar 2021 at 20:49, Ethan Furman firstname.lastname@example.org wrote:
Everything considered, I think I like allowing `__contains__` to verify both names and values
What about Enum.values()?
adding `default=<sentinel>` to the constructor for the value-based "gimme an Enum or None" case
What's the use case, apart checking if the value is a "member" of the enum?