[Python-checkins] gh-105704: Disallow square brackets (`[` and `]`) in domain names for parsed URLs (#129418)

2025-01-31 Thread orsenthil
https://github.com/python/cpython/commit/d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a commit: d89a5f6a6e65511a5f6e0618c4c30a7aa5aba56a branch: main author: Seth Michael Larson committer: orsenthil date: 2025-01-31T09:41:34-08:00 summary: gh-105704: Disallow square brackets (`[` and `]`) in domain na

[Python-checkins] GH-128563: Move some labels, to simplify implementing tailcalling interpreter. (GH-129525)

2025-01-31 Thread markshannon
https://github.com/python/cpython/commit/54f74b80aef8b581f2b124d150903cec83aff005 commit: 54f74b80aef8b581f2b124d150903cec83aff005 branch: main author: Mark Shannon committer: markshannon date: 2025-01-31T17:13:20Z summary: GH-128563: Move some labels, to simplify implementing tailcalling interp

[Python-checkins] gh-128509: Add `sys._is_immortal` for identifying immortal objects (#128510)

2025-01-31 Thread kumaraditya303
https://github.com/python/cpython/commit/9ba281d871c4df3a3ac4cb7896d24ba0d42751a3 commit: 9ba281d871c4df3a3ac4cb7896d24ba0d42751a3 branch: main author: Peter Bierma committer: kumaraditya303 date: 2025-01-31T15:27:08Z summary: gh-128509: Add `sys._is_immortal` for identifying immortal objects (#

[Python-checkins] [3.13] gh-126108: Fix potential null pointer dereference in `PySys_AddWarnOptionUnicode` (GH-126118) (#129520)

2025-01-31 Thread kumaraditya303
https://github.com/python/cpython/commit/0468ea12305ef5a0a3d1dc4af8a82fb94d202cd6 commit: 0468ea12305ef5a0a3d1dc4af8a82fb94d202cd6 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2025-01-31T20:32:44+05:30 summary: [3.13]

[Python-checkins] gh-93649: Add Modules/_testcapi/function.c file (#129521)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/60a85415aeb5a8be54b3c412d19a7444bf5ac757 commit: 60a85415aeb5a8be54b3c412d19a7444bf5ac757 branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T16:02:50+01:00 summary: gh-93649: Add Modules/_testcapi/function.c file (#129521) * Move Py

[Python-checkins] [3.12] gh-126108: Fix potential null pointer dereference in `PySys_AddWarnOptionUnicode` (GH-126118) (#129522)

2025-01-31 Thread kumaraditya303
https://github.com/python/cpython/commit/40d7f745e95883c169b1e1d8e2fa60fd89298771 commit: 40d7f745e95883c169b1e1d8e2fa60fd89298771 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: kumaraditya303 date: 2025-01-31T20:32:30+05:30 summary: [3.12]

[Python-checkins] gh-126108: Fix potential null pointer dereference in `PySys_AddWarnOptionUnicode` (#126118)

2025-01-31 Thread kumaraditya303
https://github.com/python/cpython/commit/fad36bf38248130bc48b81a5e7c31a7649a6456e commit: fad36bf38248130bc48b81a5e7c31a7649a6456e branch: main author: Valery Fedorenko committer: kumaraditya303 date: 2025-01-31T20:06:30+05:30 summary: gh-126108: Fix potential null pointer dereference in `PySys

[Python-checkins] gh-129430: Make walking vm regions more efficient in MacOS (#129494)

2025-01-31 Thread pablogsal
https://github.com/python/cpython/commit/7eaef74561c27865496505913d19eec7bb3fbcf5 commit: 7eaef74561c27865496505913d19eec7bb3fbcf5 branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-01-31T14:08:48Z summary: gh-129430: Make walking vm regions more efficient in MacOS (#1294

[Python-checkins] gh-129354: Use PyErr_FormatUnraisable() function (#129518)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/79f85a0bc1c3b3c30b2f979033eef9840e21db31 commit: 79f85a0bc1c3b3c30b2f979033eef9840e21db31 branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T15:06:14+01:00 summary: gh-129354: Use PyErr_FormatUnraisable() function (#129518) Replace

[Python-checkins] gh-93649: Add Modules/_testcapi/type.c file (#129516)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/5424e3b0348c6029e96d4cb106cbcd5cca86d980 commit: 5424e3b0348c6029e96d4cb106cbcd5cca86d980 branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T15:03:54+01:00 summary: gh-93649: Add Modules/_testcapi/type.c file (#129516) Move PyType C

[Python-checkins] gh-111178: fix UBSan failures in `Modules/_sqlite` (GH-129087)

2025-01-31 Thread encukou
https://github.com/python/cpython/commit/881984b41a103b4c7fac262a00cc240ae8fbdba9 commit: 881984b41a103b4c7fac262a00cc240ae8fbdba9 branch: main author: Bénédikt Tran <[email protected]> committer: encukou date: 2025-01-31T14:33:30+01:00 summary: gh-78: fix UBSan failur

[Python-checkins] gh-129502: Fix handling errors in ctypes callbacks (GH-129504)

2025-01-31 Thread serhiy-storchaka
https://github.com/python/cpython/commit/9d63ae5fe52d95059ab1bcd4cbb1f9e17033c897 commit: 9d63ae5fe52d95059ab1bcd4cbb1f9e17033c897 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-01-31T15:30:19+02:00 summary: gh-129502: Fix handling errors in ctypes callbacks (GH-129

[Python-checkins] gh-129354: Use PyErr_FormatUnraisable() function (#129514)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/3447f4a56a71a4017e55d8f46160a63f111ec373 commit: 3447f4a56a71a4017e55d8f46160a63f111ec373 branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T14:20:35+01:00 summary: gh-129354: Use PyErr_FormatUnraisable() function (#129514) Replace

[Python-checkins] gh-93649: Move PyFrame C API tests to test_capi (#129512)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/8b70ff587220ebaefae9b6283b4993c78a726324 commit: 8b70ff587220ebaefae9b6283b4993c78a726324 branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T13:51:58+01:00 summary: gh-93649: Move PyFrame C API tests to test_capi (#129512) * Add Lib

[Python-checkins] gh-71494: string.Formatter: support keys/attributes in unnumbered fields (GH-21767)

2025-01-31 Thread encukou
https://github.com/python/cpython/commit/22b2d37f4211f51a3c90680edeb4c10261f58158 commit: 22b2d37f4211f51a3c90680edeb4c10261f58158 branch: main author: qm2k committer: encukou date: 2025-01-31T13:16:24+01:00 summary: gh-71494: string.Formatter: support keys/attributes in unnumbered fields (GH-2

[Python-checkins] gh-129354: Use PyErr_FormatUnraisable() function (#129511)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/0373926260b2b96b025019b5ddcdd4423858e41f commit: 0373926260b2b96b025019b5ddcdd4423858e41f branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T13:16:08+01:00 summary: gh-129354: Use PyErr_FormatUnraisable() function (#129511) Replace

[Python-checkins] GH-128563: Simplify recursion check in `_PyEval_EvalFrameDefault` (GH-129481)

2025-01-31 Thread markshannon
https://github.com/python/cpython/commit/c3ae5c9e4ad121f8ba60ffe81ca4e2a9c52dc659 commit: c3ae5c9e4ad121f8ba60ffe81ca4e2a9c52dc659 branch: main author: Mark Shannon committer: markshannon date: 2025-01-31T12:12:24Z summary: GH-128563: Simplify recursion check in `_PyEval_EvalFrameDefault` (GH-12

[Python-checkins] GH-128469: Revert "warn when libpython was loaded from outside the build directory (#128645)" (#129506)

2025-01-31 Thread FFY00
https://github.com/python/cpython/commit/31c82c28f927b7e55c7dfdd548322c6c36760278 commit: 31c82c28f927b7e55c7dfdd548322c6c36760278 branch: main author: Petr Viktorin committer: FFY00 date: 2025-01-31T11:17:37Z summary: GH-128469: Revert "warn when libpython was loaded from outside the build dir

[Python-checkins] GH-129386: Add `test.support.reset_code` (GH-129486)

2025-01-31 Thread encukou
https://github.com/python/cpython/commit/674befbd7be3bffee66772ff9fdef168feda47ef commit: 674befbd7be3bffee66772ff9fdef168feda47ef branch: main author: Brandt Bucher committer: encukou date: 2025-01-31T11:50:54+01:00 summary: GH-129386: Add `test.support.reset_code` (GH-129486) files: A Misc/NE

[Python-checkins] gh-129393: Make 'sys.platform' return "freebsd" only on FreeBSD (#129394)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/e3eba8ce266f90d9f8faeb5b2b4b64e56110bd2a commit: e3eba8ce266f90d9f8faeb5b2b4b64e56110bd2a branch: main author: Michael Osipov committer: vstinner date: 2025-01-31T10:02:45+01:00 summary: gh-129393: Make 'sys.platform' return "freebsd" only on FreeBSD (#12

[Python-checkins] [3.12] gh-111495: Add PyFile tests (#129449) (#129477) (#129501)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/48f08fe6c8023b852b642c130dda74f35d5997cd commit: 48f08fe6c8023b852b642c130dda74f35d5997cd branch: 3.12 author: Victor Stinner committer: vstinner date: 2025-01-31T10:27:35+01:00 summary: [3.12] gh-111495: Add PyFile tests (#129449) (#129477) (#129501) [3

[Python-checkins] gh-127975: Avoid reusing quote types in ast.unparse if not needed (#127980)

2025-01-31 Thread hauntsaninja
https://github.com/python/cpython/commit/8df5193d37f70a1478642c4b456dcc7d6df6c117 commit: 8df5193d37f70a1478642c4b456dcc7d6df6c117 branch: main author: Shantanu <[email protected]> committer: hauntsaninja <[email protected]> date: 2025-01-31

[Python-checkins] gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/95504f429eec04010d0b815345ebcc3af2402af0 commit: 95504f429eec04010d0b815345ebcc3af2402af0 branch: main author: Victor Stinner committer: vstinner date: 2025-01-31T09:45:35+01:00 summary: gh-129354: Fix grammar in PyErr_FormatUnraisable() (#129475) Replac

[Python-checkins] Revert "gh-129005: _pyio.BufferedIO remove copy on readall (#129454)" (#129500)

2025-01-31 Thread vstinner
https://github.com/python/cpython/commit/3ebe3d7688475e98a34d691e1ba50d8b7178a575 commit: 3ebe3d7688475e98a34d691e1ba50d8b7178a575 branch: main author: Cody Maloney committer: vstinner date: 2025-01-31T09:40:44+01:00 summary: Revert "gh-129005: _pyio.BufferedIO remove copy on readall (#129454)"

[Python-checkins] gh-128452: fix warning in socketmodule.c (#129478)

2025-01-31 Thread kumaraditya303
https://github.com/python/cpython/commit/c07ac3c86a8f5021e27bf2c27c6bf0a25229d846 commit: c07ac3c86a8f5021e27bf2c27c6bf0a25229d846 branch: main author: Kumar Aditya committer: kumaraditya303 date: 2025-01-31T13:41:11+05:30 summary: gh-128452: fix warning in socketmodule.c (#129478) files: M Mod