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 ethan.furman
Recipients AlexWaygood, barry, eli.bendersky, ethan.furman, serhiy.storchaka
Date 2021-10-29.16:55:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1635526508.35.0.478118760726.issue45535@roundup.psfhosted.org>
In-reply-to
Content
Enums have had a custom dir() from the beginning, partly because they are not standard objects and do not follow standard rules.

The question posed by this issue is whether Enums with mixed-in data types should show the inherited methods, and if yes, should it also show inherited `__dunders__`.

I'm inclined to say yes for the normal inherited methods, I'm not sure about inherited `__dunders__`.
History
Date User Action Args
2021-10-29 16:55:08ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, serhiy.storchaka, AlexWaygood
2021-10-29 16:55:08ethan.furmansetmessageid: <1635526508.35.0.478118760726.issue45535@roundup.psfhosted.org>
2021-10-29 16:55:08ethan.furmanlinkissue45535 messages
2021-10-29 16:55:08ethan.furmancreate