Illegal identifier checks in the convenience API don't work

Bug #1167052 reported by Barry Warsaw
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
flufl.enum
Won't Fix
High
Barry Warsaw

Bug Description

This should raise an exception, but doesn't:

>>> Enum('X', 'a-1')

because 'a-1' is not a valid identifier.

Barry Warsaw (barry)
Changed in flufl.enum:
milestone: none → 4.1
assignee: nobody → Barry Warsaw (barry)
importance: Undecided → High
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 → Won't Fix
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.