summaryrefslogtreecommitdiffstats
path: root/Lib/enum.py
Commit message (Expand)AuthorAgeFilesLines
* gh-118650: Exclude `_repr_*` methods from Enum's _sunder_ reservation (GH-118...chrysn2024-05-071-1/+4
* gh-118465: Add __firstlineno__ attribute to class (GH-118475)Serhiy Storchaka2024-05-061-1/+1
* gh-117663: [Enum] fix _simple_enum's detection of aliases (GH-117664)Ethan Furman2024-04-091-28/+44
* gh-115775: Compiler adds __static_attributes__ field to classes (#115913)Irit Katriel2024-03-261-1/+2
* gh-116600: [Enum] fix global Flag repr (GH-116615)Ethan Furman2024-03-111-1/+1
* gh-116040: [Enum] fix test_empty_names test (GH-116508)Ethan Furman2024-03-111-3/+1
* gh-116040: [Enum] fix by-value calls when second value is falsey; e.g. Cardin...Ethan Furman2024-03-071-4/+11
* gh-115821: [Enum] better error message for calling super().__new__() (GH-116063)Ethan Furman2024-02-281-0/+5
* gh-115539: Allow enum.Flag to have None members (GH-115636)Jason Zhang2024-02-191-21/+36
* gh-114071: [Enum] update docs and code for tuples/subclasses (GH-114871)Ethan Furman2024-02-041-2/+8
* gh-114149: [Enum] revert #114160 and add more tuple-subclass tests (GH-114215)Ethan Furman2024-01-181-3/+3
* gh-114149: [Enum] fix tuple subclass handling when using custom __new__ (GH-1...Ethan Furman2024-01-171-3/+3
* gh-112328: [Enum] Make some private attributes public. (GH-112514)Ethan Furman2023-12-051-74/+129
* [Enum] update class creation for RuntimeError changes (GH-111815)Ethan Furman2023-11-291-5/+9
* gh-111181: Fix enum doctests (GH-111180)Nikita Sobolev2023-10-301-6/+5
* gh-110905: [Enum] minor fixes and cleanup (GH-110906)Pieter Eendebak2023-10-161-5/+3
* gh-109653: Improve `enum` import time by avoiding import of `functools` (GH-1...Alex Waygood2023-09-231-3/+2
* gh-109022: [Enum] require `names=()` to create empty enum type (GH-109048)Ethan Furman2023-09-081-0/+5
* gh-108682: [Enum] raise TypeError if super().__new__ called in custom __new__...Ethan Furman2023-08-311-0/+7
* gh-106602: [Enum] Add __copy__ and __deepcopy__ (GH-106666)Prince Roshan2023-07-121-0/+6
* gh-105497: [Enum] Fix flag mask inversion when unnamed flags exist (#106468)Ethan Furman2023-07-111-6/+2
* gh-105497: [Enum] Fix Flag inversion when alias/mask members exist. (GH-105542)Ethan Furman2023-06-091-8/+7
* gh-105332: [Enum] Fix unpickling flags in edge-cases (GH-105348)Nikita Sobolev2023-06-081-21/+9
* gh-104764: [Enum] fix 3.13-specific tests (GH-104779)Ethan Furman2023-05-231-34/+10
* gh-103596: [Enum] do not shadow mixed-in methods/attributes (GH-103600)Ethan Furman2023-04-181-35/+51
* gh-103479: [Enum] require __new__ to be considered a data type (GH-103495)Ethan Furman2023-04-131-1/+2
* gh-103365: [Enum] STRICT boundary corrections (GH-103494)Ethan Furman2023-04-131-28/+39
* [Enum] unchain exception property.__get__ (GH-103305)Ethan Furman2023-04-061-1/+1
* gh-93910: [Enum] remove member.member deprecation (GH-103236)Ethan Furman2023-04-061-25/+25
* gh-103056: [Enum] use staticmethod decorator for _gnv_ (GH-103231)Ethan Furman2023-04-041-0/+3
* gh-98298, gh-74730: [Enum] update docs (GH-103163)Ethan Furman2023-04-031-4/+4
* gh-103215: Remove redundant if stmt from `enum.EnumType._find_data_type_` (GH...Sadra Barikbin2023-04-031-2/+0
* gh-102549: [Enum] fail enum creation when data type raises in __init__ (GH-10...Ethan Furman2023-03-311-14/+11
* gh-102558: [Enum] better handling of non-Enum EnumType classes (GH-103060)Ethan Furman2023-03-271-7/+5
* gh-103056: [Enum] ensure final _generate_next_value_ is a staticmethod (GH-10...Ethan Furman2023-03-271-0/+5
* gh-102558: [Enum] fix AttributeError during member repr() (GH-102601)Dong-hee Na2023-03-231-0/+2
* gh-101541: [Enum] create flag psuedo-member without calling original __new__ ...Ethan Furman2023-02-061-3/+2
* gh-101341: Remove unncessary enum._power_of_two function (gh-101342)Dong-hee Na2023-01-281-5/+0
* gh-86682: Adds sys._getframemodulename as an alternative to using _getframe (...Steve Dower2023-01-131-5/+7
* gh-100039: enhance __signature__ to work with str and callables (GH-100168)Ethan Furman2022-12-161-1/+8
* gh-100098: [Enum] insist on actual tuples, no subclasses, for auto (GH-100099)Ethan Furman2022-12-081-1/+3
* gh-92120: The docstring of enum.Enum is invalid in reST (GH-92122)Takeshi KOMIYA2022-12-081-7/+7
* gh-94943: [Enum] improve repr() when inheriting from a dataclass (GH-99740)Ethan Furman2022-12-061-1/+17
* gh-92647: [Enum] use final status to determine lookup or create (GH-99500)Ethan Furman2022-11-151-4/+9
* [Enum] update version TODO comment (GH-99458)Ethan Furman2022-11-141-1/+1
* gh-99248: [Enum] fix negative number infinite loop (GH-99256)Ethan Furman2022-11-081-1/+7
* gh-93464: [Enum] fix auto() failure during multiple assignment (GH-99148)Ethan Furman2022-11-061-8/+25
* gh-96865: [Enum] fix Flag to use CONFORM boundary (GH-97528)Ethan Furman2022-10-051-1/+1
* [Enum] fix typos (GH-96285)wim glenn2022-09-201-2/+2
* gh-95149: Enhance `http.HTTPStatus` with properties that indicate the HTTP st...Alexandru Mărășteanu2022-08-301-1/+1