summaryrefslogtreecommitdiff
path: root/Lib/enum.py
AgeCommit message (Expand)AuthorLines
2021-04-12[3.8] bpo-42248: [Enum] ensure exceptions raised in ``_missing_`` are release...Ethan Furman-13/+18
2020-12-09bpo-40084: [Enum] dir() includes member attributes (GH-19219) (GH-22853)Miss Islington (bot)-1/+1
2020-12-08[3.8] [Enum] reformat and add doc strings (GH-23705). (GH-23706)Ethan Furman-51/+127
2020-12-08bpo-41907: [Enum] fix format() behavior for IntFlag (GH-22497) (GH-23704)Miss Islington (bot)-1/+1
2020-12-07bpo-41889: [Enum] fix multiple-inheritance regression (GH-22487) (GH-23672)Miss Islington (bot)-3/+8
2020-09-16[3.8] bpo-39728: Enum: fix duplicate `ValueError` (GH-22277) (GH-22283)Ethan Furman-1/+1
2020-09-16_auto_called cleanup (GH-22285)Miss Islington (bot)-1/+1
2020-09-16bpo-41517: do not allow Enums to be extended (GH-22271)Miss Islington (bot)-5/+14
2020-09-15bpo-41789: honor object overrides in Enum classes (GH-22250)Miss Islington (bot)-0/+4
2020-09-15bpo-39587: Enum - use correct mixed-in data type (GH-22263)Miss Islington (bot)-1/+12
2020-09-13[3.8] bpo-37479: Enum - use correct __format__ (GH-14545)Ethan Furman-2/+3
2020-05-27bpo-40025: Require _generate_next_value_ to be defined before members(GH-19763)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-03bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)Brennan D Baraban-8/+9
2019-01-24bpo-35717: Fix KeyError exception raised when using enums and compile (GH-11523)Rémi Lapeyre-1/+1
2018-12-26Speed-up building enums by value, e.g. http.HTTPStatus(200) (#11318)Andrew Svetlov-2/+4
2018-10-05bpo-34909: keep searching mixins until base class is found (GH-9737)Ethan Furman-3/+1
2018-09-21bpo-29577: Enum: mixin classes don't mix well with already mixed Enums (GH-9328)Ethan Furman-30/+18
2018-09-12bpo-34536: raise error for invalid _missing_ results (GH-9147)Ethan Furman-1/+19
2018-09-12bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)orlnub123-38/+45
2018-09-10bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)Rahul Jha-1/+7
2018-06-19bpo-33866: enum: Stop using OrderedDict (GH-7698)INADA Naoki-13/+5
2018-04-15bpo-31947: remove None default for names param in Enum._create_ (GH-4288)anentropic-1/+1
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