[Python-checkins] gh-140766: [Enum] add `show_flag_values` and `bin` to `enum.__all__` (GH-140765)

2025-10-30 Thread ethanfurman
https://github.com/python/cpython/commit/e4deefbb2f93bceba6dd5c38152c90d678cd882c commit: e4deefbb2f93bceba6dd5c38152c90d678cd882c branch: main author: Guo Ci committer: ethanfurman date: 2025-10-30T10:32:55-07:00 summary: gh-140766: [Enum] add `show_flag_values` and `bin` to `enum.__all__` (GH

[Python-checkins] gh-136672: Docs: Move Enum functions and add examples (GH-136791)

2025-08-12 Thread ethanfurman
https://github.com/python/cpython/commit/003bd8cc63279b455a7ca5d783ff3623fd2b3804 commit: 003bd8cc63279b455a7ca5d783ff3623fd2b3804 branch: main author: RafaelWO <[email protected]> committer: ethanfurman date: 2025-08-12T12:28:27-07:00 summary: gh-136672: Docs: Mov

[Python-checkins] gh-130577: tarfile now validates archives to ensure member offsets are non-negative (GH-137027)

2025-07-28 Thread ethanfurman
https://github.com/python/cpython/commit/7040aa54f14676938970e10c5f74ea93cd56aa38 commit: 7040aa54f14676938970e10c5f74ea93cd56aa38 branch: main author: Alexander Urieles committer: ethanfurman date: 2025-07-28T08:37:26-07:00 summary: gh-130577: tarfile now validates archives to ensure member

[Python-checkins] gh-136859: Improve `StrEnum` docs (GH-136864)

2025-07-21 Thread ethanfurman
https://github.com/python/cpython/commit/5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36 commit: 5f9e38f9b9f2b82e841f1b11a8300f2cacd76a36 branch: main author: Nacho Caballero committer: ethanfurman date: 2025-07-21T08:18:40-07:00 summary: gh-136859: Improve `StrEnum` docs (GH-136864) Co-authored-by

[Python-checkins] [3.13] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (GH-136842)

2025-07-19 Thread ethanfurman
https://github.com/python/cpython/commit/f7be0ee9db00fb3e2ce4420a85d503e5c00e29c4 commit: f7be0ee9db00fb3e2ce4420a85d503e5c00e29c4 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2025-07-19T12:01:42-07:00 summary:

[Python-checkins] [3.14] gh-136764: improve comment in enum.verify.__call__ (GH-136774) (GH-136841)

2025-07-19 Thread ethanfurman
https://github.com/python/cpython/commit/197f3eca2a48dfa28533645029a926f241e0f25d commit: 197f3eca2a48dfa28533645029a926f241e0f25d branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2025-07-19T11:00:15-07:00 summary:

[Python-checkins] gh-136764: improve comment in enum.verify.__call__ (GH-136774)

2025-07-19 Thread ethanfurman
https://github.com/python/cpython/commit/6a1c93af806d0ca5d3fb86cd183d00013bbf28d1 commit: 6a1c93af806d0ca5d3fb86cd183d00013bbf28d1 branch: main author: Saurav Singh committer: ethanfurman date: 2025-07-19T05:55:02-07:00 summary: gh-136764: improve comment in enum.verify.__call__ (GH-136774

[Python-checkins] gh-107538: [Enum] fix handling of inverted/negative values (GH-132273)

2025-07-10 Thread ethanfurman
https://github.com/python/cpython/commit/49365bd110a254a6a304d2f880482bfeb2e4490d commit: 49365bd110a254a6a304d2f880482bfeb2e4490d branch: main author: Ethan Furman committer: ethanfurman date: 2025-07-10T16:49:09-07:00 summary: gh-107538: [Enum] fix handling of inverted/negative values (GH

[Python-checkins] [3.13] gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790) (GH-132896)

2025-04-25 Thread ethanfurman
https://github.com/python/cpython/commit/08772229c77b1492efc59abde954191744147f9d commit: 08772229c77b1492efc59abde954191744147f9d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2025-04-25T13:30:33-07:00 summary:

[Python-checkins] gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790)

2025-04-24 Thread ethanfurman
https://github.com/python/cpython/commit/22bc953aa9be3039629dd1315f856d2522619412 commit: 22bc953aa9be3039629dd1315f856d2522619412 branch: main author: Ethan Furman committer: ethanfurman date: 2025-04-24T23:13:54-07:00 summary: gh-132684: [Enum] only call _missing_ in __contains__ for Flags

[Python-checkins] gh-131045: [Enum] fix flag containment checks when using values (GH-131053)

2025-03-12 Thread ethanfurman
https://github.com/python/cpython/commit/17d06aeb5476099bc1acd89cd6f69e239e0f9350 commit: 17d06aeb5476099bc1acd89cd6f69e239e0f9350 branch: main author: Ethan Furman committer: ethanfurman date: 2025-03-12T12:10:47-07:00 summary: gh-131045: [Enum] fix flag containment checks when using values

[Python-checkins] [3.13] gh-112328: Make EnumDict usable on its own and document it (GH-123669) (GH-128142)

2024-12-24 Thread ethanfurman
https://github.com/python/cpython/commit/875e49fb631bf8ae4d4fc545c8ee06c2ad397687 commit: 875e49fb631bf8ae4d4fc545c8ee06c2ad397687 branch: 3.13 author: Ethan Furman committer: ethanfurman date: 2024-12-24T10:50:23-08:00 summary: [3.13] gh-112328: Make EnumDict usable on its own and document it

[Python-checkins] gh-112328: Make EnumDict usable on its own and document it (GH-123669)

2024-12-20 Thread ethanfurman
https://github.com/python/cpython/commit/2a66dd33dfc0b845042da9bb54aaa4e890733f54 commit: 2a66dd33dfc0b845042da9bb54aaa4e890733f54 branch: main author: Petr Viktorin committer: ethanfurman date: 2024-12-20T11:40:58-08:00 summary: gh-112328: Make EnumDict usable on its own and document it (GH

[Python-checkins] gh-112328: Document EnumDict in docs and release notes (GH-121720)

2024-12-19 Thread ethanfurman
https://github.com/python/cpython/commit/39e69a7cd54d44c9061db89bb15c460d30fba7a6 commit: 39e69a7cd54d44c9061db89bb15c460d30fba7a6 branch: main author: Md Rokibul Islam committer: ethanfurman date: 2024-12-19T15:38:42-08:00 summary: gh-112328: Document EnumDict in docs and release notes (GH

[Python-checkins] gh-128080: remove unnecessary `__init__` method from Enum (GH-128081)

2024-12-19 Thread ethanfurman
https://github.com/python/cpython/commit/c14db202750ff9eaf3919298f1172270b7dfd64e commit: c14db202750ff9eaf3919298f1172270b7dfd64e branch: main author: Stephen Morton committer: ethanfurman date: 2024-12-19T14:07:17-08:00 summary: gh-128080: remove unnecessary `__init__` method from Enum (GH

[Python-checkins] [3.12] gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484) (GH-126878)

2024-11-15 Thread ethanfurman
https://github.com/python/cpython/commit/cdc1dff33f43d410d9136b808b3d8cc3e7df82a9 commit: cdc1dff33f43d410d9136b808b3d8cc3e7df82a9 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-11-15T15:20:10-08:00 summary:

[Python-checkins] [3.13] gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484) (GH-126879)

2024-11-15 Thread ethanfurman
https://github.com/python/cpython/commit/d74f1f477ae846ec66aa65e846bc1b338fad6641 commit: d74f1f477ae846ec66aa65e846bc1b338fad6641 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-11-15T15:20:25-08:00 summary:

[Python-checkins] gh-126476: Raise IllegalMonthError for calendar.formatmonth() when the input month is not correct (GH-126484)

2024-11-15 Thread ethanfurman
https://github.com/python/cpython/commit/3be7498d2450519d5d8f63a35ef298db3b3d935b commit: 3be7498d2450519d5d8f63a35ef298db3b3d935b branch: main author: Nadeshiko Manju committer: ethanfurman date: 2024-11-15T11:03:06-08:00 summary: gh-126476: Raise IllegalMonthError for calendar.formatmonth

[Python-checkins] bpo-41793: Fix an inaccuracy about reflected methods in datamodel docs (GH-22257)

2024-10-29 Thread ethanfurman
https://github.com/python/cpython/commit/298e04163188639fa28dd86cc9d1b8096199f6fb commit: 298e04163188639fa28dd86cc9d1b8096199f6fb branch: main author: Wim Jeantine-Glenn committer: ethanfurman date: 2024-10-29T16:02:27-07:00 summary: bpo-41793: Fix an inaccuracy about reflected methods in

[Python-checkins] [3.12] gh-125259: Fix error notes removal in enum initialization (GH-125647) (GH-125953)

2024-10-25 Thread ethanfurman
https://github.com/python/cpython/commit/d0b2fa4804eb7edf08fd6d97fa615e190d679d81 commit: d0b2fa4804eb7edf08fd6d97fa615e190d679d81 branch: 3.12 author: Ethan Furman committer: ethanfurman date: 2024-10-25T16:03:52-07:00 summary: [3.12] gh-125259: Fix error notes removal in enum initialization

[Python-checkins] [3.13] gh-125259: Fix error notes removal in enum initialization (GH-125647) (GH-125858)

2024-10-24 Thread ethanfurman
https://github.com/python/cpython/commit/32830cf7030f5db5ef86204abe17dc7c4fcec7ff commit: 32830cf7030f5db5ef86204abe17dc7c4fcec7ff branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-10-24T20:24:23-07:00 summary:

[Python-checkins] gh-125259: Fix error notes removal in enum initialization (GH-125647)

2024-10-22 Thread ethanfurman
https://github.com/python/cpython/commit/34653bba644aa5481613f398153757d7357e39ea commit: 34653bba644aa5481613f398153757d7357e39ea branch: main author: Mario Šaško committer: ethanfurman date: 2024-10-22T13:42:22-07:00 summary: gh-125259: Fix error notes removal in enum initialization (GH

[Python-checkins] [3.13] gh-125710: [Enum] fix hashable<->nonhashable comparisons for member values (GH-125735) (GH-125851)

2024-10-22 Thread ethanfurman
https://github.com/python/cpython/commit/5bb0538f6e79acb6d414b7c6c75d3b9a70e9bb6b commit: 5bb0538f6e79acb6d414b7c6c75d3b9a70e9bb6b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-10-22T11:29:42-07:00 summary:

[Python-checkins] gh-125710: [Enum] fix hashable<->nonhashable comparisons for member values (GH-125735)

2024-10-22 Thread ethanfurman
https://github.com/python/cpython/commit/aaed91cabcedc16c089c4b1c9abb1114659a83d3 commit: aaed91cabcedc16c089c4b1c9abb1114659a83d3 branch: main author: Ethan Furman committer: ethanfurman date: 2024-10-22T11:04:00-07:00 summary: gh-125710: [Enum] fix hashable<->nonhashable compariso

[Python-checkins] gh-116110: remove extra processing for the __signature__ attribute (GH-116234)

2024-10-08 Thread ethanfurman
https://github.com/python/cpython/commit/eafd14fbe0fd464b9d700f6d00137415193aa143 commit: eafd14fbe0fd464b9d700f6d00137415193aa143 branch: main author: Sergey B Kirpichev committer: ethanfurman date: 2024-10-08T12:36:03-07:00 summary: gh-116110: remove extra processing for the __signature__

[Python-checkins] gh-123005: Add version added in enum.Flag.__len__ (GH-123007)

2024-08-14 Thread ethanfurman
https://github.com/python/cpython/commit/8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145 commit: 8e2dc7f380c7ffe6b0fe525b4d0558aaed9d7145 branch: main author: Damien <[email protected]> committer: ethanfurman date: 2024-08-14T13:30:33-07:00 summary: gh-123005: Add v

[Python-checkins] [3.12] gh-118820: Zero-valued flag enum has no name (GH-118848) (GH120758)

2024-06-19 Thread ethanfurman
https://github.com/python/cpython/commit/6421db1d4d86c645034ecf6cce163a02318b67c0 commit: 6421db1d4d86c645034ecf6cce163a02318b67c0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-06-19T15:11:58-07:00 summary:

[Python-checkins] [3.13] gh-118820: Zero-valued flag enum has no name (GH-118848) (GH-120759)

2024-06-19 Thread ethanfurman
https://github.com/python/cpython/commit/e415d2561b0410c21ab8627aa10b90b1145b1c70 commit: e415d2561b0410c21ab8627aa10b90b1145b1c70 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-06-19T15:11:30-07:00 summary:

[Python-checkins] gh-118820: Zero-valued flag enum has no name (GH-118848)

2024-06-19 Thread ethanfurman
https://github.com/python/cpython/commit/ed5ae6c4d76feaff06c2104c8ff864553b000253 commit: ed5ae6c4d76feaff06c2104c8ff864553b000253 branch: main author: Nice Zombies committer: ethanfurman date: 2024-06-19T13:09:53-07:00 summary: gh-118820: Zero-valued flag enum has no name (GH-118848) Co

[Python-checkins] gh-120361: Add `nonmember` test with enum flags inside to `test_enum` (GH-120364)

2024-06-14 Thread ethanfurman
https://github.com/python/cpython/commit/7fadfd82ebf6ea90b38cb3f2a046a51f8601a205 commit: 7fadfd82ebf6ea90b38cb3f2a046a51f8601a205 branch: main author: Nikita Sobolev committer: ethanfurman date: 2024-06-14T10:25:35-07:00 summary: gh-120361: Add `nonmember` test with enum flags inside to

[Python-checkins] gh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698)

2024-05-07 Thread ethanfurman
https://github.com/python/cpython/commit/f58833ebf8161aaa33844d63fb51b1575180cfbb commit: f58833ebf8161aaa33844d63fb51b1575180cfbb branch: main author: chrysn committer: ethanfurman date: 2024-05-07T11:11:18-07:00 summary: gh-118650: Document `Enum._repr_*` reservation exclusion (GH-118698

[Python-checkins] gh-102247: http: support rfc9110 status codes (GH-117611)

2024-04-13 Thread ethanfurman
https://github.com/python/cpython/commit/022ba6d161138fbe02bcb83b7e667567f2673b0a commit: 022ba6d161138fbe02bcb83b7e667567f2673b0a branch: main author: Michiel W. Beijen committer: ethanfurman date: 2024-04-13T07:33:20-07:00 summary: gh-102247: http: support rfc9110 status codes (GH-117611

[Python-checkins] gh-117663: [Enum] fix _simple_enum's detection of aliases (GH-117664)

2024-04-09 Thread ethanfurman
https://github.com/python/cpython/commit/e5521bcca916c63866f0aa1c4dfb3a315d6ada73 commit: e5521bcca916c63866f0aa1c4dfb3a315d6ada73 branch: main author: Ethan Furman committer: ethanfurman date: 2024-04-09T11:31:07-07:00 summary: gh-117663: [Enum] fix _simple_enum's detection of aliase

[Python-checkins] [3.11] gh-116600: [Enum] fix global Flag repr (GH-116615) (#116630)

2024-03-11 Thread ethanfurman
https://github.com/python/cpython/commit/5562a09821499d3b5f40637f448591ff2466a217 commit: 5562a09821499d3b5f40637f448591ff2466a217 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-03-11T17:36:15-07:00 summary:

[Python-checkins] [3.12] gh-116600: [Enum] fix global Flag repr (GH-116615) (GH-116629)

2024-03-11 Thread ethanfurman
https://github.com/python/cpython/commit/1fb661579dadce6550925ad17a40eba2dec91d45 commit: 1fb661579dadce6550925ad17a40eba2dec91d45 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-03-11T17:36:00-07:00 summary:

[Python-checkins] gh-116600: [Enum] fix global Flag repr (GH-116615)

2024-03-11 Thread ethanfurman
https://github.com/python/cpython/commit/06e29a224fac9edeba55422d2e60f2fbb88dddce commit: 06e29a224fac9edeba55422d2e60f2fbb88dddce branch: main author: Ethan Furman committer: ethanfurman date: 2024-03-11T15:41:53-07:00 summary: gh-116600: [Enum] fix global Flag repr (GH-116615) * and fix

[Python-checkins] [3.12] gh-116040: [Enum] fix test_empty_names test (GH-116508) (GH-116619)

2024-03-11 Thread ethanfurman
https://github.com/python/cpython/commit/8b3b5be934622670dc1670ab60b70c668004bb62 commit: 8b3b5be934622670dc1670ab60b70c668004bb62 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-03-11T15:16:22-07:00 summary:

[Python-checkins] gh-116040: [Enum] fix test_empty_names test (GH-116508)

2024-03-11 Thread ethanfurman
https://github.com/python/cpython/commit/3c0dcef9808e34744096769b15bad4f1f97569f0 commit: 3c0dcef9808e34744096769b15bad4f1f97569f0 branch: main author: Ethan Furman committer: ethanfurman date: 2024-03-11T13:42:01-07:00 summary: gh-116040: [Enum] fix test_empty_names test (GH-116508) * and fix

[Python-checkins] [3.11] gh-105535 Document potential performance trap during enum creation (GH-107119) (GH-116512)

2024-03-08 Thread ethanfurman
https://github.com/python/cpython/commit/232b085a0116a99b2455ea5822a2a12099b902ca commit: 232b085a0116a99b2455ea5822a2a12099b902ca branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-03-08T16:57:16-08:00 summary:

[Python-checkins] [3.12] gh-105535 Document potential performance trap during enum creation (GH-107119) (GH116511)

2024-03-08 Thread ethanfurman
https://github.com/python/cpython/commit/d5d86e2145d11d6e844ee987780445c6ebce4309 commit: d5d86e2145d11d6e844ee987780445c6ebce4309 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-03-08T16:56:58-08:00 summary:

[Python-checkins] gh-105535 Document potential performance trap during enum creation (GH-107119)

2024-03-08 Thread ethanfurman
https://github.com/python/cpython/commit/601f3a7b3391e9d219a8ec44a6c56d00ce584d2a commit: 601f3a7b3391e9d219a8ec44a6c56d00ce584d2a branch: main author: Nicolas A. Oyarzabal <[email protected]> committer: ethanfurman date: 2024-03-08T11:22:17-08:00 summary: gh-

[Python-checkins] [3.12] gh-116040: [Enum] fix by-value calls when second value is falsey (GH-116072) (GH-116476)

2024-03-07 Thread ethanfurman
https://github.com/python/cpython/commit/d771729679d39904768f60b3352e02f5f491966c commit: d771729679d39904768f60b3352e02f5f491966c branch: 3.12 author: Ethan Furman committer: ethanfurman date: 2024-03-07T15:26:13-08:00 summary: [3.12] gh-116040: [Enum] fix by-value calls when second value is

[Python-checkins] gh-116040: [Enum] fix by-value calls when second value is falsey; e.g. Cardinal(1, 0) (GH-116072)

2024-03-07 Thread ethanfurman
https://github.com/python/cpython/commit/13ffd4bd9f529b6a5fe33741fbd57f14b4b80137 commit: 13ffd4bd9f529b6a5fe33741fbd57f14b4b80137 branch: main author: Ethan Furman committer: ethanfurman date: 2024-03-07T13:30:26-08:00 summary: gh-116040: [Enum] fix by-value calls when second value is falsey

[Python-checkins] gh-115821: [Enum] better error message for calling super().__new__() (GH-116063)

2024-02-28 Thread ethanfurman
https://github.com/python/cpython/commit/3ea78fd5bc93fc339ef743e6a5dfde35f04d972e commit: 3ea78fd5bc93fc339ef743e6a5dfde35f04d972e branch: main author: Ethan Furman committer: ethanfurman date: 2024-02-28T15:17:49-08:00 summary: gh-115821: [Enum] better error message for calling super().__new__

[Python-checkins] [3.12] gh-115821: [Enum] better error message for calling super().__new__() (GH-116065)

2024-02-28 Thread ethanfurman
https://github.com/python/cpython/commit/83ff92d225816bc23073e9d5a57cc117a4f25714 commit: 83ff92d225816bc23073e9d5a57cc117a4f25714 branch: 3.12 author: Ethan Furman committer: ethanfurman date: 2024-02-28T15:17:20-08:00 summary: [3.12] gh-115821: [Enum] better error message for calling super

[Python-checkins] [3.12] gh-115539: Allow enum.Flag to have None members (GH-115636) (GH-115694)

2024-02-19 Thread ethanfurman
https://github.com/python/cpython/commit/e4fd5d542a8d7b735cce6e551a1b33bbd42e1d78 commit: e4fd5d542a8d7b735cce6e551a1b33bbd42e1d78 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-02-19T16:18:40-08:00 summary:

[Python-checkins] [3.11] gh-115539: Allow enum.Flag to have None members (GH-115636) (GH-115695)

2024-02-19 Thread ethanfurman
https://github.com/python/cpython/commit/b3384af46406c171e4e15fc6fb0901efc1eb6cd4 commit: b3384af46406c171e4e15fc6fb0901efc1eb6cd4 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-02-19T16:18:30-08:00 summary:

[Python-checkins] gh-115539: Allow enum.Flag to have None members (GH-115636)

2024-02-19 Thread ethanfurman
https://github.com/python/cpython/commit/c2cb31bbe1262213085c425bc853d6587c66cae9 commit: c2cb31bbe1262213085c425bc853d6587c66cae9 branch: main author: Jason Zhang committer: ethanfurman date: 2024-02-19T14:36:11-08:00 summary: gh-115539: Allow enum.Flag to have None members (GH-115636) files

[Python-checkins] [3.12] gh-115252: Fix `test_enum` with `-OO` mode (GH-115253) (GH-115260)

2024-02-10 Thread ethanfurman
https://github.com/python/cpython/commit/ada6629169f19c3e363dcd37a412dfe96ff58350 commit: ada6629169f19c3e363dcd37a412dfe96ff58350 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-02-10T21:15:40-08:00 summary:

[Python-checkins] gh-115252: Fix `test_enum` with `-OO` mode (GH-115253)

2024-02-10 Thread ethanfurman
https://github.com/python/cpython/commit/33f56b743285f8419e92cfabe673fa165165a580 commit: 33f56b743285f8419e92cfabe673fa165165a580 branch: main author: Nikita Sobolev committer: ethanfurman date: 2024-02-10T10:34:22-08:00 summary: gh-115252: Fix `test_enum` with `-OO` mode (GH-115253) files: M

[Python-checkins] [3.12] gh-101100: Fix sphinx warnings in `library/enum.rst` (GH-114696) (GH-115208)

2024-02-09 Thread ethanfurman
https://github.com/python/cpython/commit/3539b02873525ffbb81f34491c982c52393ae87e commit: 3539b02873525ffbb81f34491c982c52393ae87e branch: 3.12 author: Nikita Sobolev committer: ethanfurman date: 2024-02-09T12:10:26-08:00 summary: [3.12] gh-101100: Fix sphinx warnings in `library/enum.rst` (GH

[Python-checkins] [3.11] gh-101100: Fix sphinx warnings in `library/enum.rst` (GH-114696) (GH-115209)

2024-02-09 Thread ethanfurman
https://github.com/python/cpython/commit/ca3eca1584c948d075eee904ad8f1bb910894212 commit: ca3eca1584c948d075eee904ad8f1bb910894212 branch: 3.11 author: Nikita Sobolev committer: ethanfurman date: 2024-02-09T12:09:59-08:00 summary: [3.11] gh-101100: Fix sphinx warnings in `library/enum.rst` (GH

[Python-checkins] [3.12] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107) (GH-115117)

2024-02-08 Thread ethanfurman
https://github.com/python/cpython/commit/108ff59c8f7f1acf75b2f202ad78f6d7ccf1bed1 commit: 108ff59c8f7f1acf75b2f202ad78f6d7ccf1bed1 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-02-08T14:03:12-08:00 summary:

[Python-checkins] [3.11] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107) (GH-115118)

2024-02-08 Thread ethanfurman
https://github.com/python/cpython/commit/21e3b31424295cc0270f9040414bef2677224805 commit: 21e3b31424295cc0270f9040414bef2677224805 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-02-08T14:02:45-08:00 summary:

[Python-checkins] [3.12] gh-114071: [Enum] update docs and code for tuples/subclasses (GH-114871) (GH-114993)

2024-02-08 Thread ethanfurman
https://github.com/python/cpython/commit/7d2f88edf0365c2d9b872dc7847b9a77a5df8aac commit: 7d2f88edf0365c2d9b872dc7847b9a77a5df8aac branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-02-08T14:01:38-08:00 summary:

[Python-checkins] gh-115106 docs: 'enum.Flag.__iter__()' did not exist prior to Python 3.11 (GH-115107)

2024-02-06 Thread ethanfurman
https://github.com/python/cpython/commit/3f71c416c085cfaed49ef325f70eb374a4966256 commit: 3f71c416c085cfaed49ef325f70eb374a4966256 branch: main author: Finite State Machine <[email protected]> committer: ethanfurman date: 2024-02-06T17:28:01-08:00 s

[Python-checkins] gh-114071: [Enum] update docs and code for tuples/subclasses (GH-114871)

2024-02-04 Thread ethanfurman
https://github.com/python/cpython/commit/ff7588b729a2a414ea189a2012904da3fbd1401c commit: ff7588b729a2a414ea189a2012904da3fbd1401c branch: main author: Ethan Furman committer: ethanfurman date: 2024-02-04T07:22:55-08:00 summary: gh-114071: [Enum] update docs and code for tuples/subclasses (GH

[Python-checkins] gh-114803: Mention that `@dataclass` should not be applied on enums (GH-114891)

2024-02-03 Thread ethanfurman
https://github.com/python/cpython/commit/72d2d0f10d5623bceb98a2014926ea0b87594ecb commit: 72d2d0f10d5623bceb98a2014926ea0b87594ecb branch: main author: Nikita Sobolev committer: ethanfurman date: 2024-02-03T13:55:38-08:00 summary: gh-114803: Mention that `@dataclass` should not be applied on

[Python-checkins] [3.12] gh-114149: [Enum] revert GH-114196 and add more tuple-subclass tests (GH-114215) (GH-114218)

2024-01-17 Thread ethanfurman
https://github.com/python/cpython/commit/35e330ba859c915043d2e9808b44120f67328873 commit: 35e330ba859c915043d2e9808b44120f67328873 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-01-17T20:36:28-08:00 summary:

[Python-checkins] gh-114149: [Enum] revert #114160 and add more tuple-subclass tests (GH-114215)

2024-01-17 Thread ethanfurman
https://github.com/python/cpython/commit/4c7e09d0129dafddba58979ced9580f856f65efa commit: 4c7e09d0129dafddba58979ced9580f856f65efa branch: main author: Ethan Furman committer: ethanfurman date: 2024-01-17T16:31:00-08:00 summary: gh-114149: [Enum] revert #114160 and add more tuple-subclass tests

[Python-checkins] [3.12] gh-114149: [Enum] fix tuple subclass handling when using custom __new__ (GH-114160) (GH-114196)

2024-01-17 Thread ethanfurman
https://github.com/python/cpython/commit/c1890e666eaaa819a318b4a6b4f2c8c33a8c679e commit: c1890e666eaaa819a318b4a6b4f2c8c33a8c679e branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2024-01-17T13:34:48-08:00 summary:

[Python-checkins] gh-114149: [Enum] fix tuple subclass handling when using custom __new__ (GH-114160)

2024-01-17 Thread ethanfurman
https://github.com/python/cpython/commit/33b47a2c2853066b549f242065f6c2e12e18b33b commit: 33b47a2c2853066b549f242065f6c2e12e18b33b branch: main author: Ethan Furman committer: ethanfurman date: 2024-01-17T09:47:11-08:00 summary: gh-114149: [Enum] fix tuple subclass handling when using custom