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
Date 2016-03-09.18:57:36
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1457549856.93.0.164722622997.issue26521@psf.upfronthosting.co.za>
In-reply-to
Content
In this SO question [1] the OP has a need to generate an Enum lazily.  I created an `extend_enum` function to do so.  By the time I was done I realized I would not want anyone to have to create that function by hand, nor keep it up to date (should we ever change the implementation details).

Should we add this to the stdlib?  Note that this does not change anything about subclassing Enum.

[1] http://stackoverflow.com/q/28126314/208880
History
Date User Action Args
2016-03-09 18:57:37ethan.furmansetrecipients: + ethan.furman, barry, eli.bendersky
2016-03-09 18:57:36ethan.furmansetmessageid: <1457549856.93.0.164722622997.issue26521@psf.upfronthosting.co.za>
2016-03-09 18:57:36ethan.furmanlinkissue26521 messages
2016-03-09 18:57:36ethan.furmancreate