summaryrefslogtreecommitdiff
path: root/Lib/enum.py
AgeCommit message (Expand)AuthorLines
2020-06-11bpo-40025: Require _generate_next_value_ to be defined before members (GH-19762)Miss Islington (bot)-0/+5
2019-09-20Doc: Fix spelling errors of 'initial' in enum.py (GH-16314)Miss Islington (bot)-1/+1
2019-03-08bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)Miss Islington (bot)-8/+9
2019-01-30bpo-35717: Fix KeyError exception raised when using enums and compile (GH-115...Miss Islington (bot)-1/+1
2018-12-26Speed-up building enums by value, e.g. http.HTTPStatus(200) (GH-11318) (GH-11...Miss Islington (bot)-2/+4
2018-10-19bpo-34536: raise error for invalid _missing_ results (GH-9147) (GH-9978)Victor Stinner-1/+19
2018-10-06bpo-34909: keep searching mixins until base class is found (GH-9737) (GH-9738)Miss Islington (bot)-3/+1
2018-09-21[3.7] bpo-29577: Enum: mixin classes don't mix well with already mixed Enums ...Ethan Furman-30/+18
2018-09-10[3.7] bpo-34282: Fix Enum._convert method shadowing members named _convert (G...orlnub123-4/+6
2018-04-16bpo-31947: remove None default for names param in Enum._create_ (GH-4288)Miss Islington (bot)-1/+1
2018-04-11[3.7] bpo-33217: deprecate non-Enum lookups in Enums (GH-6392)Ethan Furman-1/+12
2018-01-22bpo-31801: Enum: add _ignore_ as class option (#5237)Ethan Furman-1/+19
2017-09-26bpo-30152: Reduce the number of imports for argparse. (#1269)Serhiy Storchaka-7/+4
2017-08-03Spelling fixes (#2902)Ville Skyttä-1/+1
2017-06-21bpo-30616: Functional API of enum allows to create empty enums. (#2304)Dong-hee Na-1/+1
2017-01-24closes issue29167: fix race condition in (Int)FlagEthan Furman-4/+11
2016-12-29Issue #29103: Remove unused import. Noticed by Jean-Sebastien Bevilacqua.Raymond Hettinger-1/+1
2016-11-21close issue28172: Change all example enum member names to uppercase, per Guid...Ethan Furman-2/+2
2016-09-18issue23591: fix flag decomposition and reprEthan Furman-58/+94
2016-09-11Enum._convert: sort by value, then by nameEthan Furman-3/+10
2016-09-10issue23591: add auto() for auto-generating Enum member valuesEthan Furman-13/+37
2016-09-04issue23591: more docs; slight change to reprEthan Furman-8/+5
2016-09-02issue23591: bool(empty_flags) == False; more docs & testsEthan Furman-0/+3
2016-09-02issue23591: optimize _high_bit()Ethan Furman-7/+2
2016-09-01issue23591: add docs; code cleanup; more testsEthan Furman-4/+4
2016-08-31issue23591: add Flags, IntFlags, and testsEthan Furman-10/+217
2016-08-20issue26981: add _order_ compatibility shim to enum.EnumEthan Furman-2/+15
2016-08-20Issue26988: remove AutoEnumEthan Furman-121/+12
2016-08-05Add AutoEnum: automatically provides next value if missing. Issue 26988.Ethan Furman-12/+121
2016-06-03signal, socket, and ssl module IntEnum constant name lookups now return aGregory P. Smith ext:(%20%5BGoogle%20Inc.%5D)-2/+8
2016-05-01issue26893: use mro() to examine class heirarchyEthan Furman-1/+1
2016-05-01issue26893: use mro() to examine class heirarchyEthan Furman-1/+1
2016-04-13Issue26748: Enum classes should evaluate as TrueEthan Furman-0/+6
2016-04-13Issue26748: Enum classes should evaluate as TrueEthan Furman-0/+6
2016-04-13Issue26748: Enum classes should evaluate as TrueEthan Furman-0/+6
2016-01-15revert change 87a9dff5106c: pure Enum members again evaluate to True;Ethan Furman-3/+0
2015-11-14Issue #23883: Add missing APIs to __all__; patch by Jacek KołodziejMartin Panter-1/+1
2015-09-17Issue 25147: add reason for using _collectionsEthan Furman-0/+1
2015-09-17Close issue25147: use C implementation of OrderedDictEthan Furman-1/+6
2015-09-17Close issue24840: Enum._value_ is queried for bool(); original patch by Mike ...Ethan Furman-0/+3
2015-04-11Close issue23900: add default __doc__ to new enumerations that do not specify...Ethan Furman-0/+4
2015-03-18issue23673Ethan Furman-0/+26
2015-03-11Close issue23486: performance boost for enum member lookupEthan Furman-1/+10
2014-10-21Issue22506: remove name & value from __dir__ as they now show up automaticallyEthan Furman-2/+1
2014-10-14Issue22506: merge from 3.4Ethan Furman-1/+6
2014-10-14Issue22506: added methods on base Enum class now show up in dir of Enum subcl...Ethan Furman-1/+6
2014-09-16Close issue21706: add 'start' parameter to functional APIEthan Furman-8/+8
2014-09-16consistently use _name_ and _value_; patch from Kiss GyorgyEthan Furman-5/+5
2015-03-18issue23673Ethan Furman-0/+26
2014-03-03Close issue20653: improve functional API docs; minor code changesEthan Furman-12/+27