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 barry, eli.bendersky, ethan.furman, serhiy.storchaka
Date 2015-03-11.16:17:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1426090658.06.0.586783770342.issue23640@psf.upfronthosting.co.za>
In-reply-to
Content
The only solution that is coming to mind is to have EnumMeta go through the other base classes, wrap any classmethods it finds, and ensure that they return their appropriate type and not an Enum type.

Any other ideas?
History
Date User Action Args
2015-03-11 16:17:38ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky, serhiy.storchaka
2015-03-11 16:17:38ethan.furmansetmessageid: <1426090658.06.0.586783770342.issue23640@psf.upfronthosting.co.za>
2015-03-11 16:17:38ethan.furmanlinkissue23640 messages
2015-03-11 16:17:37ethan.furmancreate