Message220372
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. |
|
Date |
User |
Action |
Args |
2014-06-12 18:35:45 | ethan.furman | set | recipients:
+ ethan.furman |
2014-06-12 18:35:45 | ethan.furman | set | messageid: <1402598145.45.0.559693441236.issue21738@psf.upfronthosting.co.za> |
2014-06-12 18:35:45 | ethan.furman | link | issue21738 messages |
2014-06-12 18:35:45 | ethan.furman | create | |
|