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 ethan.furman
Date 2014-06-12.18:35:45
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1402598145.45.0.559693441236.issue21738@psf.upfronthosting.co.za>
In-reply-to
Content
Replacing __new__ in an Enum subclass is not possible /in the subclass definition/, but is easily replaced via monkey-patching after the class has been defined.

Docs need to be updated to reflect this.
History
Date User Action Args
2014-06-12 18:35:45ethan.furmansetrecipients: + ethan.furman
2014-06-12 18:35:45ethan.furmansetmessageid: <1402598145.45.0.559693441236.issue21738@psf.upfronthosting.co.za>
2014-06-12 18:35:45ethan.furmanlinkissue21738 messages
2014-06-12 18:35:45ethan.furmancreate