Ethan Furman
|
2131a4a2fc
|
Add __reversed__ to Enum. Minor code reorg (moved __members__ to be in alpha order).
|
2013-09-14 18:11:24 -07:00 |
Ethan Furman
|
f203f2d51d
|
Close #18924: Block naive attempts to change an Enum member.
|
2013-09-06 07:16:48 -07:00 |
Ethan Furman
|
ec15a826ce
|
Close #18738: Route __format__ calls to mixed-in type for mixed Enums (such as IntEnum).
|
2013-08-31 19:17:41 -07:00 |
Ethan Furman
|
388a3921cf
|
Issue 18693: Put custom __dir__ back in place. Will instead look at fixing `help()`.
|
2013-08-12 06:51:41 -07:00 |
Ethan Furman
|
53f58dbd12
|
Close #18693: __dir__ removed from Enum; help() now helpful.
|
2013-08-10 13:07:49 -07:00 |
Ethan Furman
|
5e5a8230c2
|
Close #18635: Move class level private attribute from instance to class.
|
2013-08-04 08:42:23 -07:00 |
Ethan Furman
|
b41803e3ef
|
Close #18545: now only executes member_type if no _value_ is assigned in __new__.
|
2013-07-25 13:50:45 -07:00 |
Ethan Furman
|
520ad57916
|
Change _names to _names_ since the latter is reserved for Enum use.
Before this change only the methods were _single_underscored_; now
the attributes are as well.
|
2013-07-19 19:47:21 -07:00 |
Ethan Furman
|
2aa2732eaf
|
Close #18508 -- fix _value2member_map to always have the member's value
|
2013-07-19 19:35:56 -07:00 |
Ethan Furman
|
f24bb35a69
|
closes issue18042 -- a `unique` decorator is added to enum.py
The docs also clarify the 'Interesting Example' duplicate-free enum is for
demonstration purposes.
|
2013-07-18 17:05:39 -07:00 |
Ethan Furman
|
6b3d64ab5d
|
Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python standard library).
Missing files added.
News entry added.
|
2013-06-14 16:55:46 -07:00 |