[Python-checkins] gh-162350: Add AC vectorcall for method.__new__ to speed up types.MethodType (#162408)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/cffc305e809fc67abc8baae942dc3fd1dea7055a commit: cffc305e809fc67abc8baae942dc3fd1dea7055a branch: main author: Tan Long committer: cmaloney date: 2026-11-22T00:12:27-08:00 summary: gh-162350: Add AC vectorcall for method.__new__ to speed up

[Python-checkins] gh-95723: Add proof of correctness for `Fraction.limit_denominator` to InternalDocs (#160625)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/294a2cc96c4c096c2e8216db69ccb8e79ba1a40c commit: 294a2cc96c4c096c2e8216db69ccb8e79ba1a40c branch: main author: Sergey B Kirpichev committer: StanFromIreland date: 2026-11-22T08:43:46Z summary: gh-95723: Add proof of correctness for

[Python-checkins] gh-161808: Raise SyntaxError for unsupported ElementPath tokens (GH-161810)

2026-11-22 Thread scoder
https://github.com/python/cpython/commit/aceaed66ec6146df43f3c6abf31fec984a70 commit: aceaed66ec6146df43f3c6abf31fec984a70 branch: main author: Dmitry <[email protected]> committer: scoder date: 2026-11-22T08:27:00Z summary: gh-161808: Raise SyntaxError for

[Python-checkins] [3.15] Docs: fix a duplicated word in `xmlparser.AttlistDeclHandler` docs (GH-162385) (#162435)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/ea9dc497fd5319a0882f1acc06b1a25db2ce5c64 commit: ea9dc497fd5319a0882f1acc06b1a25db2ce5c64 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland date: 2026-11-22T11:41:13Z summary: [3.15]

[Python-checkins] gh-162350: Add AC @vectorcall for asyncio module objects (#162439)

2026-11-22 Thread kumaraditya303
https://github.com/python/cpython/commit/0d12f87f13c52052381b3302dc2bcf39168a2b44 commit: 0d12f87f13c52052381b3302dc2bcf39168a2b44 branch: main author: Andrew Svetlov committer: kumaraditya303 date: 2026-11-22T15:37:46Z summary: gh-162350: Add AC @vectorcall for asyncio module objects (#162439)

[Python-checkins] gh-162428: Use the freelist for exact `complex()` constructor results (#162429)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/1330e91abea7b4cb60cbecd6d7a95ba4c7f71ed3 commit: 1330e91abea7b4cb60cbecd6d7a95ba4c7f71ed3 branch: main author: Cody Maloney committer: StanFromIreland date: 2026-11-22T15:27:30Z summary: gh-162428: Use the freelist for exact `complex()` constructor

[Python-checkins] gh-162350: Use AC vectorcall for cell.__new__ to speed up types.CellType (#162422)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/f80a0fabe604cfe031f620919cf906d2a08c5f13 commit: f80a0fabe604cfe031f620919cf906d2a08c5f13 branch: main author: Tan Long committer: asvetlov date: 2026-11-22T17:04:27+01:00 summary: gh-162350: Use AC vectorcall for cell.__new__ to speed up types.CellType

[Python-checkins] gh-150097: Move _testclinic to multi-phase init (#162406)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/4f3f1d2bc0864b4d70552d0c198829ce2efdceb8 commit: 4f3f1d2bc0864b4d70552d0c198829ce2efdceb8 branch: main author: Cody Maloney committer: asvetlov date: 2026-11-22T17:07:10+01:00 summary: gh-150097: Move _testclinic to multi-phase init (#162406) Convert

[Python-checkins] Docs: add a versionchanged note for regexes in warnings (#162390)

2026-11-22 Thread nedbat
https://github.com/python/cpython/commit/434744eacaf80391d8c0d531bcf4e820d94e53d1 commit: 434744eacaf80391d8c0d531bcf4e820d94e53d1 branch: main author: Ned Batchelder committer: nedbat date: 2026-11-22T11:15:46-05:00 summary: Docs: add a versionchanged note for regexes in warnings (#162390)

[Python-checkins] gh-162350: Use AC vectorcall for framelocalsproxy_new to speed up types.FrameLocalsProxyType (#162424)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/fd713538c5e71d8a04637ba21a8823e64e6043fa commit: fd713538c5e71d8a04637ba21a8823e64e6043fa branch: main author: Tan Long committer: asvetlov date: 2026-11-22T16:54:03+01:00 summary: gh-162350: Use AC vectorcall for framelocalsproxy_new to speed up

[Python-checkins] [3.15] Docs: add a versionchanged note for regexes in warnings (GH-162390) (#162444)

2026-11-22 Thread nedbat
https://github.com/python/cpython/commit/9edd3a98ae68751ffee95f67707453f1d0b63d9d commit: 9edd3a98ae68751ffee95f67707453f1d0b63d9d branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: nedbat date: 2026-11-22T16:23:37Z summary: [3.15] Docs: add a

[Python-checkins] gh-159037: Improve performance of str.join pre-pass (#159038)

2026-11-22 Thread eendebakpt
https://github.com/python/cpython/commit/a7c50997978361e2d04bba5938bdc18cf4bab9ba commit: a7c50997978361e2d04bba5938bdc18cf4bab9ba branch: main author: Pieter Eendebak committer: eendebakpt date: 2026-11-22T15:49:11+01:00 summary: gh-159037: Improve performance of str.join pre-pass (#159038) *

[Python-checkins] gh-162282: Fix quadratic cost in urllib.robotparser._add_entry (#162283)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/45e9b3db69f4f58a74911ea4b699f254b5edc036 commit: 45e9b3db69f4f58a74911ea4b699f254b5edc036 branch: main author: Vadim Toptunov committer: asvetlov date: 2026-11-22T16:18:38Z summary: gh-162282: Fix quadratic cost in urllib.robotparser._add_entry (#162283)

[Python-checkins] [3.14] Docs: add a versionchanged note for regexes in warnings (GH-162390) (#162445)

2026-11-22 Thread nedbat
https://github.com/python/cpython/commit/425fe265bf2f8b8f2d7a1f5e765a9349193a4b6c commit: 425fe265bf2f8b8f2d7a1f5e765a9349193a4b6c branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: nedbat date: 2026-11-22T16:22:56Z summary: [3.14] Docs: add a

[Python-checkins] Docs: fix a typo in the abi3t migration guide (#162384)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/8a9d7c1c37133933bef049264529dfe2b9b74e79 commit: 8a9d7c1c37133933bef049264529dfe2b9b74e79 branch: main author: Krube37 committer: StanFromIreland date: 2026-11-22T11:26:56Z summary: Docs: fix a typo in the abi3t migration guide (#162384) files: M

[Python-checkins] Docs: fix a duplicated word in `xmlparser.AttlistDeclHandler` docs (#162385)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/436d791c26de90e38ee1734a42534594f6a56e98 commit: 436d791c26de90e38ee1734a42534594f6a56e98 branch: main author: founderielabs committer: StanFromIreland date: 2026-11-22T11:32:15Z summary: Docs: fix a duplicated word in `xmlparser.AttlistDeclHandler` docs

[Python-checkins] gh-161746: Use the Neri-Schneider algorithm for ordinal-to-date conversion in `datetime` (#161747)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/9c9b148f5c182978269141e54fa8591b701a3982 commit: 9c9b148f5c182978269141e54fa8591b701a3982 branch: main author: Aleksandr Mazalov committer: StanFromIreland date: 2026-11-22T11:25:32Z summary: gh-161746: Use the Neri-Schneider algorithm for

[Python-checkins] [3.15] Docs: fix a typo in the abi3t migration guide (GH-162384) (#162434)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/6c3e9958d83a1625f0014140669986aa6d944403 commit: 6c3e9958d83a1625f0014140669986aa6d944403 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland date: 2026-11-22T11:34:47Z summary: [3.15]

[Python-checkins] [3.14] Docs: fix a duplicated word in `xmlparser.AttlistDeclHandler` docs (GH-162385) (#162436)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/6f6b5d0206fd1a6353b181981b9478ce3fb58c59 commit: 6f6b5d0206fd1a6353b181981b9478ce3fb58c59 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: StanFromIreland date: 2026-11-22T11:41:03Z summary: [3.14]

[Python-checkins] [3.15] gh-157847: Tidy up the remaining `turtle` reference docs (GH-162014) (#162431)

2026-11-22 Thread StanFromIreland
https://github.com/python/cpython/commit/863630a31913d567a6fd40475222e21c4ef4e6f7 commit: 863630a31913d567a6fd40475222e21c4ef4e6f7 branch: 3.15 author: Stan Ulbrych committer: StanFromIreland date: 2026-11-22T11:44:25Z summary: [3.15] gh-157847: Tidy up the remaining `turtle` reference docs

[Python-checkins] [3.15] gh-162282: Fix quadratic cost in urllib.robotparser._add_entry (GH-162283) (#162446)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/047d65cc518b5004db22bc79a3faf47708589d19 commit: 047d65cc518b5004db22bc79a3faf47708589d19 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: asvetlov date: 2026-11-22T16:53:41Z summary: [3.15]

[Python-checkins] [3.14] gh-162282: Fix quadratic cost in urllib.robotparser._add_entry (GH-162283) (#162447)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/78dec8d954bd5311bcefd6cae97cfb9fd3dc8cd1 commit: 78dec8d954bd5311bcefd6cae97cfb9fd3dc8cd1 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: asvetlov date: 2026-11-22T17:01:18Z summary: [3.14]

[Python-checkins] [3.15] gh-162282: Fix remaining quadratic paths in urllib.robotparser (GH-162442) (#162449)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/a215ad4cea7e13150afd8b0ae6e16f3d3c00c4d4 commit: a215ad4cea7e13150afd8b0ae6e16f3d3c00c4d4 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: asvetlov date: 2026-11-22T17:39:58Z summary: [3.15]

[Python-checkins] [3.14] gh-162282: Fix remaining quadratic paths in urllib.robotparser (GH-162442) (#162450)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/42df42783f600ee7f212d2a9c9009dfe6e6db031 commit: 42df42783f600ee7f212d2a9c9009dfe6e6db031 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: asvetlov date: 2026-11-22T17:36:54Z summary: [3.14]

[Python-checkins] gh-162350: Add AC vectorcall for mappingproxy.__new__ to speed up types.MappingProxyType (#162430)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/3092f320c89cdb03863f1b3c8bde68492593a3e6 commit: 3092f320c89cdb03863f1b3c8bde68492593a3e6 branch: main author: Tan Long committer: asvetlov date: 2026-11-22T18:17:53Z summary: gh-162350: Add AC vectorcall for mappingproxy.__new__ to speed up

[Python-checkins] [3.14] gh-162061: Fix awaited-by links for asyncio.gather() (GH-162394) (#162454)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/679c306992abebb605c4f3028abf0a4d5822dea2 commit: 679c306992abebb605c4f3028abf0a4d5822dea2 branch: 3.14 author: Andrew Svetlov committer: asvetlov date: 2026-11-22T18:56:58Z summary: [3.14] gh-162061: Fix awaited-by links for asyncio.gather() (GH-162394)

[Python-checkins] [3.14] gh-138720: Make Buffered closed check match flush (GH-138724) (#162459)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/a182cc80778bc2a45a7855fbce89fcbf65993025 commit: a182cc80778bc2a45a7855fbce89fcbf65993025 branch: 3.14 author: Cody Maloney committer: cmaloney date: 2026-11-22T13:33:27-08:00 summary: [3.14] gh-138720: Make Buffered closed check match flush (GH-138724)

[Python-checkins] gh-161840: Propagate `__len__` exceptions in ctypes array slice assignment (GH-161859)

2026-11-22 Thread ZeroIntensity
https://github.com/python/cpython/commit/39af0268ee92d4837cd0c2f80eaa2d5759a87f14 commit: 39af0268ee92d4837cd0c2f80eaa2d5759a87f14 branch: main author: Yusuke Hayashi committer: ZeroIntensity date: 2026-11-22T16:42:32-05:00 summary: gh-161840: Propagate `__len__` exceptions in ctypes array

[Python-checkins] [3.15] gh-162061: Fix awaited-by links for asyncio.gather() (GH-162394) (#162453)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/51c32a140aacb4567ce3e235e8cf577fa4decb34 commit: 51c32a140aacb4567ce3e235e8cf577fa4decb34 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: asvetlov date: 2026-11-22T19:36:24Z summary: [3.15]

[Python-checkins] gh-162350: Add AC vectorcall for contextvars.ContextVar (#162451)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/35226775926661590e5f2bef8a426c7b7c7ce399 commit: 35226775926661590e5f2bef8a426c7b7c7ce399 branch: main author: Tan Long committer: cmaloney date: 2026-11-22T11:35:50-08:00 summary: gh-162350: Add AC vectorcall for contextvars.ContextVar (#162451)

[Python-checkins] gh-87613: Reject deprecated parameters in AC VC (#160857)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/badf54fcd505e25464d1806b6437723a4faeb503 commit: badf54fcd505e25464d1806b6437723a4faeb503 branch: main author: Cody Maloney committer: cmaloney date: 2026-11-22T11:50:58-08:00 summary: gh-87613: Reject deprecated parameters in AC VC (#160857) The

[Python-checkins] gh-162350: Add AC vectorcall for string.templatelib (#162452)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/e8bc97b55d1ba76b2593608919e4300e525310fd commit: e8bc97b55d1ba76b2593608919e4300e525310fd branch: main author: Tan Long committer: cmaloney date: 2026-11-22T14:51:10-08:00 summary: gh-162350: Add AC vectorcall for string.templatelib (#162452) Add AC

[Python-checkins] [3.14] gh-161840: Propagate `__len__` exceptions in ctypes array slice assignment (GH-161859) (GH-162461)

2026-11-22 Thread ZeroIntensity
https://github.com/python/cpython/commit/d18a488ac9fac6486c85c7336a027566f23b00f4 commit: d18a488ac9fac6486c85c7336a027566f23b00f4 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity date: 2026-11-22T22:17:17Z summary: [3.14]

[Python-checkins] [3.14] gh-162246: Fix leak when re-initializing `BufferedRWPair` (GH-162405) (#162458)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/b2c1367229173fdd3e52c786ace947dccc9b38f2 commit: b2c1367229173fdd3e52c786ace947dccc9b38f2 branch: 3.14 author: Cody Maloney committer: cmaloney date: 2026-11-22T14:12:52-08:00 summary: [3.14] gh-162246: Fix leak when re-initializing `BufferedRWPair`

[Python-checkins] gh-162350: Add AC vectorcall for function.__new__ to speed up types.FunctionType (#162433)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/9de76f2337effb4e9304284136505b85e0bd51e6 commit: 9de76f2337effb4e9304284136505b85e0bd51e6 branch: main author: Tan Long committer: cmaloney date: 2026-11-22T14:20:52-08:00 summary: gh-162350: Add AC vectorcall for function.__new__ to speed up

[Python-checkins] [3.15] gh-161840: Propagate `__len__` exceptions in ctypes array slice assignment (GH-161859) (GH-162460)

2026-11-22 Thread ZeroIntensity
https://github.com/python/cpython/commit/e9ec59fbf82ec00db05f1ca805c930e73082f5f7 commit: e9ec59fbf82ec00db05f1ca805c930e73082f5f7 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: ZeroIntensity date: 2026-11-22T22:20:14Z summary: [3.15]

[Python-checkins] gh-162246: Fix leak when re-initializing `BufferedRWPair` (#162405)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/5257a3d039c1946a09bb63b5810546ff99208a70 commit: 5257a3d039c1946a09bb63b5810546ff99208a70 branch: main author: Cody Maloney committer: cmaloney date: 2026-11-22T12:18:07-08:00 summary: gh-162246: Fix leak when re-initializing `BufferedRWPair` (#162405)

[Python-checkins] [3.15] gh-162246: Fix leak when re-initializing `BufferedRWPair` (GH-162405) (#162456)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/6be1526e783915db84aa9da9a65ffe80e1c743d2 commit: 6be1526e783915db84aa9da9a65ffe80e1c743d2 branch: 3.15 author: Miss Islington (bot) <[email protected]> committer: cmaloney date: 2026-11-22T13:22:37-08:00 summary: [3.15]

[Python-checkins] gh-89730: Fix the parameter name of `SSLContext.set_outer_alpn_protocols` in the docs (GH-162203)

2026-11-22 Thread ZeroIntensity
https://github.com/python/cpython/commit/9c0a5451f9e725173c48fbb9e1fea057f7f97377 commit: 9c0a5451f9e725173c48fbb9e1fea057f7f97377 branch: main author: Faris Basha TM <[email protected]> committer: ZeroIntensity date: 2026-11-22T16:24:32-05:00 summary: gh-89730: Fix

[Python-checkins] gh-162282: Fix remaining quadratic paths in urllib.robotparser (#162442)

2026-11-22 Thread asvetlov
https://github.com/python/cpython/commit/06eb74514678a3b1754f3667d0068587c968f0fe commit: 06eb74514678a3b1754f3667d0068587c968f0fe branch: main author: Andrew Svetlov committer: asvetlov date: 2026-11-22T17:04:53Z summary: gh-162282: Fix remaining quadratic paths in urllib.robotparser (#162442)

[Python-checkins] [3.14] gh-158195: Do not hold the type lock during stop-the-world (gh-160987) (gh-161586)

2026-11-22 Thread nascheme
https://github.com/python/cpython/commit/42c0a172f3e182800b0c3a78cf6f170548517aec commit: 42c0a172f3e182800b0c3a78cf6f170548517aec branch: 3.14 author: Neil Schemenauer committer: nascheme date: 2026-11-22T18:16:49-07:00 summary: [3.14] gh-158195: Do not hold the type lock during stop-the-world

[Python-checkins] gh-155074: Fix remaining-space calculation in `_pyio.BufferedReader.readinto()` (#155075)

2026-11-22 Thread cmaloney
https://github.com/python/cpython/commit/22691a32b122cff3ad17460c068f70e806cd7e84 commit: 22691a32b122cff3ad17460c068f70e806cd7e84 branch: main author: yangbaechu <[email protected]> committer: cmaloney date: 2026-11-22T16:21:06-08:00 summary: gh-155074: Fix