Yet another Python enum implementation

EnumValue should have a .value attribute so int() wrapping isn't necessary

Reported by Barry Warsaw on 2013-02-25
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flufl.enum
High
Barry Warsaw

Bug Description

.int should expose ._value

Barry Warsaw (barry) on 2013-02-25
Changed in flufl.enum:
importance: Undecided → High
assignee: nobody → Barry Warsaw (barry)
milestone: none → 3.4
status: Triaged → Fix Committed
Barry Warsaw (barry) on 2013-03-29
Changed in flufl.enum:
status: Fix Committed → Invalid
status: Invalid → Fix Committed
summary: - EnumValue should have a .int attribute so int() wrapping isn't necessary
+ EnumValue should have a .value attribute so int() wrapping isn't
+ necessary
Barry Warsaw (barry) on 2013-04-05
Changed in flufl.enum:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers