[Python-checkins] [3.12] gh-113320: Reduce the number of dangerous `getattr()` calls when constructing protocol classes (#113401) (#113722)

2024-01-04 Thread AlexWaygood
https://github.com/python/cpython/commit/8435fbfe4e1adb77ef6652bdcbd473b473a08ba3 commit: 8435fbfe4e1adb77ef6652bdcbd473b473a08ba3 branch: 3.12 author: Alex Waygood committer: AlexWaygood date: 2024-01-05T01:51:17Z summary: [3.12] gh-113320: Reduce the number of dangerous `getattr()` calls when

[Python-checkins] gh-113320: Reduce the number of dangerous `getattr()` calls when constructing protocol classes (#113401)

2024-01-04 Thread AlexWaygood
https://github.com/python/cpython/commit/ed6ea3ea79fac68b127c7eb457c7ecb996461010 commit: ed6ea3ea79fac68b127c7eb457c7ecb996461010 branch: main author: Alex Waygood committer: AlexWaygood date: 2024-01-05T01:01:48Z summary: gh-113320: Reduce the number of dangerous `getattr()` calls when constru

[Python-checkins] [3.11] gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoArgs as returning a strong reference (GH-113697) (#113699)

2024-01-04 Thread erlend-aasland
https://github.com/python/cpython/commit/99b4f1c3d5d8f081c141acaa0dc71bb11e4fb8ff commit: 99b4f1c3d5d8f081c141acaa0dc71bb11e4fb8ff branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland date: 2024-01-05T01:17:31+01:00 summary: [3.11]

[Python-checkins] [3.12] gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoArgs as returning a strong reference (GH-113697) (#113698)

2024-01-04 Thread erlend-aasland
https://github.com/python/cpython/commit/6f90399c23783a5b51be194b02d30d7908d6afc2 commit: 6f90399c23783a5b51be194b02d30d7908d6afc2 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland date: 2024-01-05T01:17:15+01:00 summary: [3.12]

[Python-checkins] gh-112532: Isolate abandoned segments by interpreter (#113717)

2024-01-04 Thread DinoV
https://github.com/python/cpython/commit/fcb3c2a444709d2a53faa20c5b43541674064018 commit: fcb3c2a444709d2a53faa20c5b43541674064018 branch: main author: Sam Gross committer: DinoV date: 2024-01-04T22:21:40Z summary: gh-112532: Isolate abandoned segments by interpreter (#113717) * gh-112532: Isol

[Python-checkins] [3.12] gh-113538: Don't error in stream reader protocol callback when task is cancelled (GH-113690) (#113713)

2024-01-04 Thread gvanrossum
https://github.com/python/cpython/commit/92ba4e10fad21db6505b819738b6d6458cb3f5e7 commit: 92ba4e10fad21db6505b819738b6d6458cb3f5e7 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: gvanrossum date: 2024-01-04T20:51:53Z summary: [3.12] gh-11353

[Python-checkins] GH-113225: Speed up `pathlib.Path.glob()` (#113226)

2024-01-04 Thread barneygale
https://github.com/python/cpython/commit/c2e8298eba3f8d75a58e5b3636f8edc8d60e68da commit: c2e8298eba3f8d75a58e5b3636f8edc8d60e68da branch: main author: Barney Gale committer: barneygale date: 2024-01-04T20:48:26Z summary: GH-113225: Speed up `pathlib.Path.glob()` (#113226) Use `os.DirEntry.path

[Python-checkins] [3.11] gh-113538: Don't error in stream reader protocol callback when task is cancelled (GH-113690) (#113714)

2024-01-04 Thread gvanrossum
https://github.com/python/cpython/commit/456e2ecdd24f372bffd3083b9e4e51ca973f81f6 commit: 456e2ecdd24f372bffd3083b9e4e51ca973f81f6 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: gvanrossum date: 2024-01-04T20:39:52Z summary: [3.11] gh-11353

[Python-checkins] gh-113538: Don't error in stream reader protocol callback when task is cancelled (#113690)

2024-01-04 Thread gvanrossum
https://github.com/python/cpython/commit/4681a5271a8598b46021cbc556ac8098ab8a1d81 commit: 4681a5271a8598b46021cbc556ac8098ab8a1d81 branch: main author: Guido van Rossum committer: gvanrossum date: 2024-01-04T12:20:21-08:00 summary: gh-113538: Don't error in stream reader protocol callback when t

[Python-checkins] gh-113569: Display calls in Mock.assert_has_calls failure when empty (GH-113573)

2024-01-04 Thread serhiy-storchaka
https://github.com/python/cpython/commit/1600d78e2d090319930c6538b496ffcca120a696 commit: 1600d78e2d090319930c6538b496ffcca120a696 branch: main author: wookie184 committer: serhiy-storchaka date: 2024-01-04T21:11:34+02:00 summary: gh-113569: Display calls in Mock.assert_has_calls failure when em

[Python-checkins] gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoArgs as returning a strong reference (#113697)

2024-01-04 Thread erlend-aasland
https://github.com/python/cpython/commit/1ae7ceba29771baf8f2e8d2d4c50a0355cb6b5c8 commit: 1ae7ceba29771baf8f2e8d2d4c50a0355cb6b5c8 branch: main author: Jamie Phan committer: erlend-aasland date: 2024-01-04T15:05:31+01:00 summary: gh-113696: Docs: Annotate PyObject_CallOneArg and PyObject_CallNoA

[Python-checkins] GH-113689: Fix broken handling of invalid executors (GH-113694)

2024-01-04 Thread markshannon
https://github.com/python/cpython/commit/35ef8cb25917bfd6cbbd7c2bb55dd4f82131c9cf commit: 35ef8cb25917bfd6cbbd7c2bb55dd4f82131c9cf branch: main author: Brandt Bucher committer: markshannon date: 2024-01-04T11:14:15Z summary: GH-113689: Fix broken handling of invalid executors (GH-113694) files: