Message261464
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 |
|
Date |
User |
Action |
Args |
2016-03-09 18:57:37 | ethan.furman | set | recipients:
+ ethan.furman, barry, eli.bendersky |
2016-03-09 18:57:36 | ethan.furman | set | messageid: <1457549856.93.0.164722622997.issue26521@psf.upfronthosting.co.za> |
2016-03-09 18:57:36 | ethan.furman | link | issue26521 messages |
2016-03-09 18:57:36 | ethan.furman | create | |
|