34 Commits (00a0fc1144d928515ff8abd0de7bb6ad072fcbdb)

Author SHA1 Message Date
Ethan Furman 3803ad47bb issue26893: use mro() to examine class heirarchy 10 years ago
Ethan Furman 5de67b106a Issue26748: Enum classes should evaluate as True 10 years ago
Ethan Furman 60255b67b9 revert change 87a9dff5106c: pure Enum members again evaluate to True; 10 years ago
Martin Panter 19e69c5a20 Issue #23883: Add missing APIs to __all__; patch by Jacek Kołodziej 10 years ago
Ethan Furman c791507e1f Issue 25147: add reason for using _collections 11 years ago
Ethan Furman e5754ab0c4 Close issue25147: use C implementation of OrderedDict 11 years ago
Ethan Furman 6db1fd5fb8 Close issue24840: Enum._value_ is queried for bool(); original patch by Mike Lundy 11 years ago
Ethan Furman 48a724fa33 Close issue23900: add default __doc__ to new enumerations that do not specify one. 11 years ago
Ethan Furman 482fe0477e issue23673 11 years ago
Ethan Furman 24e837f231 issue23673 11 years ago
Ethan Furman 354ecf1ef2 Close issue23486: performance boost for enum member lookup 11 years ago
Ethan Furman ec5f8eb85f Issue22506: remove name & value from __dir__ as they now show up automatically 11 years ago
Ethan Furman 0ae550bdde Issue22506: added methods on base Enum class now show up in dir of Enum subclass (3.4) 12 years ago
Ethan Furman d9925a18ec Close issue21706: add 'start' parameter to functional API 12 years ago
Ethan Furman 0081f23a08 consistently use _name_ and _value_; patch from Kiss Gyorgy 12 years ago
Ethan Furman 2da950460d Close issue20653: improve functional API docs; minor code changes 12 years ago
Ethan Furman 9c45444727 Close issue20653: improve functional API docs; minor code changes 12 years ago
Ethan Furman 9a0cbcc4f8 Close issue20653: allow Enum subclasses to override __reduce_ex__ 12 years ago
Ethan Furman dc87052c0c Close issue20653: allow Enum subclasses to override __reduce_ex__ 12 years ago
Ethan Furman ca1b794dac Close issue20534: all pickle protocols now supported. 12 years ago
Ethan Furman be3c2fea35 removed Enum.__eq__ as it added nothing 12 years ago
Ethan Furman 648f860c22 Close #19156: add tests and fix for Enum helper edge cases. Patch from CliffM. 13 years ago
Ethan Furman 33918c128b Issue19030: fixed comment that was still referring to a changed descriptor. 13 years ago
Ethan Furman e03ea37a7b Close #19030: improvements to inspect and Enum. 13 years ago
Ethan Furman 64a9972b40 Close #19025: Better error message when trying to delete an Enum member. 13 years ago
Ethan Furman c850f34220 Close #18693: Enum is now more help() friendly. 13 years ago
Ethan Furman 101e0746d3 Close #18989: enum members will no longer overwrite other attributes, nor be overwritten by them. 13 years ago
Ethan Furman 2131a4a2fc Add __reversed__ to Enum. Minor code reorg (moved __members__ to be in alpha order). 13 years ago
Ethan Furman f203f2d51d Close #18924: Block naive attempts to change an Enum member. 13 years ago
Ethan Furman ec15a826ce Close #18738: Route __format__ calls to mixed-in type for mixed Enums (such as IntEnum). 13 years ago
Ethan Furman 388a3921cf Issue 18693: Put custom __dir__ back in place. Will instead look at fixing `help()`. 13 years ago
Ethan Furman 53f58dbd12 Close #18693: __dir__ removed from Enum; help() now helpful. 13 years ago
Ethan Furman 5e5a8230c2 Close #18635: Move class level private attribute from instance to class. 13 years ago
Ethan Furman b41803e3ef Close #18545: now only executes member_type if no _value_ is assigned in __new__. 13 years ago
Ethan Furman 520ad57916 Change _names to _names_ since the latter is reserved for Enum use. 13 years ago
Ethan Furman 2aa2732eaf Close #18508 -- fix _value2member_map to always have the member's value 13 years ago
Ethan Furman f24bb35a69 closes issue18042 -- a `unique` decorator is added to enum.py 13 years ago
Ethan Furman 6b3d64ab5d Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python standard library). 13 years ago