- added simple
LookupError
members that are thrown whenRichEnum.lookup
is called for a nonexistent attr/val pair. Users can choose to catch either the specificLookupError
or continue to catchEnumLookupError
.
- support for Python 3 and PyPy
- Better unicode handling in
__str__
,__unicode__
, and__repr__
magic methods.
- Stop throwing warnings.
- Suppress warnings from mismatched type comparisons when generated in RichEnum.lookup.
- Raise warnings when comparing enum values to other types, but not when checking membership or comparing to None.
- Initial public release.