summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
Commit message (Collapse)AuthorAgeFilesLines
...
* Issue 18693: Put custom __dir__ back in place. Will instead look at fixing ↵Ethan Furman2013-08-121-0/+6
| | | | `help()`.
* Close #18693: __dir__ removed from Enum; help() now helpful.Ethan Furman2013-08-101-6/+0
|
* Close #18635: Move class level private attribute from instance to class.Ethan Furman2013-08-041-1/+1
|
* Close #18545: now only executes member_type if no _value_ is assigned in ↵Ethan Furman2013-07-251-4/+4
| | | | __new__.
* Change _names to _names_ since the latter is reserved for Enum use.Ethan Furman2013-07-201-30/+30
| | | | | Before this change only the methods were _single_underscored_; now the attributes are as well.
* Close #18508 -- fix _value2member_map to always have the member's valueEthan Furman2013-07-201-11/+13
|
* closes issue18042 -- a `unique` decorator is added to enum.pyEthan Furman2013-07-191-1/+15
| | | | | The docs also clarify the 'Interesting Example' duplicate-free enum is for demonstration purposes.
* Closes issue 17947. Adds PEP-0435 (Adding an Enum type to the Python ↵Ethan Furman2013-06-141-0/+465
standard library). Missing files added. News entry added.