27 Commits (83000a490a36f4c3c579151ff09eeb4875d0d4cd)

Author SHA1 Message Date
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) 11 years ago
Ethan Furman d9925a18ec Close issue21706: add 'start' parameter to functional API 11 years ago
Ethan Furman 0081f23a08 consistently use _name_ and _value_; patch from Kiss Gyorgy 11 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. 12 years ago
Ethan Furman 33918c128b Issue19030: fixed comment that was still referring to a changed descriptor. 12 years ago
Ethan Furman e03ea37a7b Close #19030: improvements to inspect and Enum. 12 years ago
Ethan Furman 64a9972b40 Close #19025: Better error message when trying to delete an Enum member. 12 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