Gitiles
Code Review
Sign In
gerrit-public.fairphone.software
/
platform
/
external
/
python
/
cpython3
/
82e9f32f17bfff32041d3f3825f1d8fbc5e76929
/
Lib
/
test
/
test_enum.py
5875d74
Close #19263: add tests to ensure __objclass__ correctly set.
by Ethan Furman
· 11 years ago
1a16288
Close #19252: better test coverage for Enum. Thanks, CliffM
by Ethan Furman
· 11 years ago
648f860
Close #19156: add tests and fix for Enum helper edge cases. Patch from CliffM.
by Ethan Furman
· 11 years ago
64a9972
Close #19025: Better error message when trying to delete an Enum member.
by Ethan Furman
· 11 years ago
c850f34
Close #18693: Enum is now more help() friendly.
by Ethan Furman
· 11 years ago
101e074
Close #18989: enum members will no longer overwrite other attributes, nor be overwritten by them.
by Ethan Furman
· 11 years ago
2131a4a
Add __reversed__ to Enum. Minor code reorg (moved __members__ to be in alpha order).
by Ethan Furman
· 11 years ago
f203f2d
Close #18924: Block naive attempts to change an Enum member.
by Ethan Furman
· 11 years ago
ec15a82
Close #18738: Route __format__ calls to mixed-in type for mixed Enums (such as IntEnum).
by Ethan Furman
· 11 years ago
388a392
Issue 18693: Put custom __dir__ back in place. Will instead look at fixing `help()`.
by Ethan Furman
· 11 years ago
53f58db
Close #18693: __dir__ removed from Enum; help() now helpful.
by Ethan Furman
· 11 years ago
5e5a823
Close #18635: Move class level private attribute from instance to class.
by Ethan Furman
· 11 years ago
b41803e
Close #18545: now only executes member_type if no _value_ is assigned in __new__.
by Ethan Furman
· 11 years ago
520ad57
Change _names to _names_ since the latter is reserved for Enum use.
by Ethan Furman
· 11 years ago
2aa2732
Close #18508 -- fix _value2member_map to always have the member's value
by Ethan Furman
· 11 years ago
f24bb35
closes issue18042 -- a `unique` decorator is added to enum.py
by Ethan Furman
· 11 years ago
6b3d64a
Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python standard library).
by Ethan Furman
· 11 years ago