Antoine Pitrou added the comment:

Yes, I didn't find a separate bug tracker for the enum34 backport, which is why 
I included that version here.

> for IntEnum the behavior is correct

Do you remember the argument? I agree that IntEnum *instances* may be falsy, 
but IntEnum classes I don't see why.

That said, if an IntEnum *class* has to be false-y, then there's no real point 
in fixing just Enum (you can pass an IntEnum instance to singledispatch() too).

----------

_______________________________________
Python tracker <rep...@bugs.python.org>
<http://bugs.python.org/issue26748>
_______________________________________
_______________________________________________
Python-bugs-list mailing list
Unsubscribe: 
https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com

Reply via email to