Allow actual EnumValue class to be overridden

Bug #1132976 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flufl.enum
Fix Released
Wishlist
Barry Warsaw

Bug Description

It might be interesting/useful to allow for overriding or deriving from the EnumValue class that the metaclass uses. This could be used for example to implement ordered comparisons for those enums that want it.

Related branches

Revision history for this message
Barry Warsaw (barry) wrote :

Suggestions for syntax/implementation are welcome.

Barry Warsaw (barry)
Changed in flufl.enum:
milestone: none → 3.4
assignee: nobody → Barry Warsaw (barry)
status: New → In Progress
Barry Warsaw (barry)
Changed in flufl.enum:
status: In Progress → Fix Committed
Barry Warsaw (barry)
Changed in flufl.enum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.