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 pitrou
Recipients barry, eli.bendersky, ethan.furman, gvanrossum, pitrou
Date 2016-04-13.17:22:01
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1460568121.51.0.847598758945.issue26748@psf.upfronthosting.co.za>
In-reply-to
Content
>>> import enum
>>> bool(enum.Enum)
False
>>> bool(enum.IntEnum)
False

This behaviour is relatively unexpected for classes, and can lead to subtle bugs such as the following:

https://bitbucket.org/ambv/singledispatch/issues/8/inconsistent-hierarchy-with-enum
History
Date User Action Args
2016-04-13 17:22:01pitrousetrecipients: + pitrou, gvanrossum, barry, eli.bendersky, ethan.furman
2016-04-13 17:22:01pitrousetmessageid: <1460568121.51.0.847598758945.issue26748@psf.upfronthosting.co.za>
2016-04-13 17:22:01pitroulinkissue26748 messages
2016-04-13 17:22:01pitroucreate