summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
Commit message (Expand)AuthorAgeFilesLines
* bpo-38250: [Enum] single-bit flags are canonical (GH-24215)Ethan Furman2021-01-251-165/+337
* bpo-42901: [Enum] move member creation to `__set_name__` (GH-24196)Ethan Furman2021-01-131-107/+190
* bpo-42851: [Enum] remove brittle __init_subclass__ support (GH-24154)Ethan Furman2021-01-071-30/+1
* bpo-42727: [Enum] use super() and include **kwds (GH-23927)Ethan Furman2020-12-251-2/+2
* [Enum] EnumMeta.__prepare__ now accepts **kwds (#23917)Ethan Furman2020-12-241-1/+1
* bpo-34750: [Enum] add `_EnumDict.update()` support (GH-23725)Ethan Furman2020-12-101-1/+11
* bpo-42385: [Enum] add `_generate_next_value_` to StrEnum (GH-23735)Ethan Furman2020-12-101-0/+6
* bpo-42517: [Enum] do not convert private names into members (GH-23722)Ethan Furman2020-12-101-1/+18
* bpo-42567: [Enum] call __init_subclass__ after members are added (GH-23714)Ethan Furman2020-12-101-2/+30
* [Enum] reformat and add doc strings (GH-23705)Ethan Furman2020-12-081-53/+134
* bpo-41907: [Enum] fix format() behavior for IntFlag (GH-22497)Ethan Furman2020-12-081-1/+1
* bpo-41889: [Enum] fix multiple-inheritance regression (GH-22487)Ethan Furman2020-12-071-3/+8
* bpo-41816: `StrEnum.__str__` is `str.__str__` (GH-22362)Ethan Furman2020-09-221-0/+2
* bpo-41816: add `StrEnum` (GH-22337)Ethan Furman2020-09-221-2/+30
* bpo-40084: Enum - dir() includes member attributes (GH-19219)Angelin BOOZ2020-09-211-1/+1
* Enum: make `Flag` and `IntFlag` members iterable (GH-22221)Ethan Furman2020-09-161-0/+4
* _auto_called cleanup (GH-22285)Ethan Furman2020-09-161-1/+1
* bpo-39728: Enum: fix duplicate `ValueError` (GH-22277)Ethan Furman2020-09-161-1/+1
* bpo-41517: do not allow Enums to be extended (#22271)Ethan Furman2020-09-161-5/+14
* bpo-41789: honor object overrides in Enum classes (GH-22250)Ethan Furman2020-09-151-0/+4
* bpo-39587: Enum - use correct mixed-in data type (GH-22263)Ethan Furman2020-09-151-1/+12
* bpo-38967: Improve the error msg for reserved _sunder_ names in enum (GH-18370)Zackery Spytz2020-09-131-1/+2
* bpo-40025: Require _generate_next_value_ to be defined before members (GH-19098)Ethan Onstott2020-04-281-0/+5
* bpo-38045: Improve the performance of _decompose() in enum.py (GH-16483)HongWeipeng2019-11-261-23/+10
* Remove binding of captured exceptions when not used to reduce the chances of ...Pablo Galindo2019-11-191-1/+1
* Doc: Fix spelling errors of 'initial' in enum.py (GH-16314)HongWeipeng2019-09-211-1/+1
* bpo-34443: Use __qualname__ instead of __name__ in enum exception messages. (...Walter Dörwald2019-07-181-4/+4
* bpo-37479: on Enum subclasses with mixins, __format__ uses overridden __str__...thatneat2019-07-041-2/+3
* bpo-34282: Remove deprecated enum _convert method (GH-13823)Zachary Ware2019-06-041-6/+0
* bpo-35899: Fix Enum handling of empty and weird strings (GH-11891)Brennan D Baraban2019-03-031-8/+9
* bpo-35717: Fix KeyError exception raised when using enums and compile (GH-11523)Rémi Lapeyre2019-01-241-1/+1
* Speed-up building enums by value, e.g. http.HTTPStatus(200) (#11318)Andrew Svetlov2018-12-261-2/+4
* bpo-34909: keep searching mixins until base class is found (GH-9737)Ethan Furman2018-10-061-3/+1
* bpo-29577: Enum: mixin classes don't mix well with already mixed Enums (GH-9328)Ethan Furman2018-09-221-31/+19
* bpo-34536: raise error for invalid _missing_ results (GH-9147)Ethan Furman2018-09-121-1/+19
* bpo-34282: Fix Enum._convert shadowing members named _convert (GH-8568)orlnub1232018-09-121-38/+45
* bpo-33217: Raise TypeError for non-Enum lookups in Enums (GH-6651)Rahul Jha2018-09-101-1/+7
* bpo-33866: enum: Stop using OrderedDict (GH-7698)INADA Naoki2018-06-181-13/+5
* bpo-31947: remove None default for names param in Enum._create_ (GH-4288)anentropic2018-04-161-1/+1
* bpo-31801: Enum: add _ignore_ as class option (#5237)Ethan Furman2018-01-221-1/+19
* bpo-30152: Reduce the number of imports for argparse. (#1269)Serhiy Storchaka2017-09-251-7/+4
* Spelling fixes (#2902)Ville Skyttä2017-08-031-1/+1
* bpo-30616: Functional API of enum allows to create empty enums. (#2304)Dong-hee Na2017-06-211-1/+1
* closes issue29167: fix race condition in (Int)FlagEthan Furman2017-01-241-4/+11
* Issue #29103: Remove unused import. Noticed by Jean-Sebastien Bevilacqua.Raymond Hettinger2016-12-301-1/+1
* close issue28172: Change all example enum member names to uppercase, per Guid...Ethan Furman2016-11-211-2/+2
* issue23591: fix flag decomposition and reprEthan Furman2016-09-181-58/+94
* Enum._convert: sort by value, then by nameEthan Furman2016-09-111-3/+10
* issue23591: add auto() for auto-generating Enum member valuesEthan Furman2016-09-111-13/+37
* issue23591: more docs; slight change to reprEthan Furman2016-09-041-8/+5