[Python-checkins] [3.13] Fix typos in documentation (GH-120338) (#120438)

2024-06-12 Thread sobolevn
https://github.com/python/cpython/commit/9c7ac7d041df6473f2fbbbf239e174e8a5acb711 commit: 9c7ac7d041df6473f2fbbbf239e174e8a5acb711 branch: 3.13 author: Xie Yanbo committer: sobolevn date: 2024-06-13T09:39:46+03:00 summary: [3.13] Fix typos in documentation (GH-120338) (#120438) (cherry picked f

[Python-checkins] [3.12] Fix typos in documentation (GH-120338) (#120439)

2024-06-12 Thread sobolevn
https://github.com/python/cpython/commit/0976c9f4bd3a02712138dbe1920687caf40fb825 commit: 0976c9f4bd3a02712138dbe1920687caf40fb825 branch: 3.12 author: Xie Yanbo committer: sobolevn date: 2024-06-13T09:32:35+03:00 summary: [3.12] Fix typos in documentation (GH-120338) (#120439) (cherry picked f

[Python-checkins] [3.13] gh-118908: Protect the REPL subprocess with a timeout in tests (GH-120408) (#120430)

2024-06-12 Thread lysnikolaou
https://github.com/python/cpython/commit/ff358616ddb5da18c79ceffabb55c3806a345383 commit: ff358616ddb5da18c79ceffabb55c3806a345383 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou date: 2024-06-12T21:58:29+02:00 summary: [3.13] gh

[Python-checkins] [3.13] gh-120418: Don't assume wheeldata is deleted if `WHEEL_PKG_DIR` is set (GH-120419) (#120432)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/f7237284b9c1768e6feb19abfad1ec54ac44ad87 commit: f7237284b9c1768e6feb19abfad1ec54ac44ad87 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-12T19:51:55Z summary: [3.13] gh-120418:

[Python-checkins] [3.13] gh-120417: Remove unused imports in the stdlib (GH-120420) (#120429)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/51724620e868512bbedb1547aca441bcd27bbe0c commit: 51724620e868512bbedb1547aca441bcd27bbe0c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-12T19:27:32Z summary: [3.13] gh-120417:

[Python-checkins] [3.13] gh-120343: Fix column offsets of multiline tokens in tokenize (GH-120391) (#120427)

2024-06-12 Thread lysnikolaou
https://github.com/python/cpython/commit/7c6b3429b631d80de0348e5ddc2a3a8125e5c00d commit: 7c6b3429b631d80de0348e5ddc2a3a8125e5c00d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou date: 2024-06-12T19:22:44Z summary: [3.13] gh-1203

[Python-checkins] gh-120418: Don't assume wheeldata is deleted if `WHEEL_PKG_DIR` is set (#120419)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/030b452e34bbb0096acacb70a31915b9590c8186 commit: 030b452e34bbb0096acacb70a31915b9590c8186 branch: main author: Stefano Rivera committer: vstinner date: 2024-06-12T21:19:36+02:00 summary: gh-120418: Don't assume wheeldata is deleted if `WHEEL_PKG_DIR` is s

[Python-checkins] [3.12] gh-120343: Fix column offsets of multiline tokens in tokenize (GH-120391) (#120428)

2024-06-12 Thread lysnikolaou
https://github.com/python/cpython/commit/f75abf8bcf1664e72ac7f031bde4cbd1349fce42 commit: f75abf8bcf1664e72ac7f031bde4cbd1349fce42 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou date: 2024-06-12T19:10:35Z summary: [3.12] gh-1203

[Python-checkins] gh-118908: Protect the REPL subprocess with a timeout in tests (#120408)

2024-06-12 Thread pablogsal
https://github.com/python/cpython/commit/3453362183f083e37ea866a7ae1b34147ffaf81d commit: 3453362183f083e37ea866a7ae1b34147ffaf81d branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2024-06-12T19:09:25Z summary: gh-118908: Protect the REPL subprocess with a timeout in tests (#

[Python-checkins] gh-120417: Remove unused imports in the stdlib (#120420)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/4c6d4f5cb33e48519922d635894eef356faddba2 commit: 4c6d4f5cb33e48519922d635894eef356faddba2 branch: main author: Victor Stinner committer: vstinner date: 2024-06-12T20:56:42+02:00 summary: gh-120417: Remove unused imports in the stdlib (#120420) files: M L

[Python-checkins] gh-120343: Fix column offsets of multiline tokens in tokenize (#120391)

2024-06-12 Thread lysnikolaou
https://github.com/python/cpython/commit/4b5d3e0e721a952f4ac9d17bee331e6dfe543dcd commit: 4b5d3e0e721a952f4ac9d17bee331e6dfe543dcd branch: main author: Lysandros Nikolaou committer: lysnikolaou date: 2024-06-12T20:52:55+02:00 summary: gh-120343: Fix column offsets of multiline tokens in tokenize

[Python-checkins] [3.13] gh-71587: Drop local reference cache to `_strptime` module in `_datetime` (gh-120424)

2024-06-12 Thread ericsnowcurrently
https://github.com/python/cpython/commit/0041087aa12044223103c7b8a3ca07d896652ab9 commit: 0041087aa12044223103c7b8a3ca07d896652ab9 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ericsnowcurrently date: 2024-06-12T17:15:16Z summary: [3.13] g

[Python-checkins] gh-71587: Drop local reference cache to `_strptime` module in `_datetime` (gh-120224)

2024-06-12 Thread ericsnowcurrently
https://github.com/python/cpython/commit/127c1d2771749853e287632c086b6054212bf12a commit: 127c1d2771749853e287632c086b6054212bf12a branch: main author: neonene <[email protected]> committer: ericsnowcurrently date: 2024-06-12T10:46:39-06:00 summary: gh-71587: Drop local re

[Python-checkins] [3.13] gh-120326: Include on Windows with Free Threading (GH-120329) (#120414)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/8e5caa72c2556c4ba1fb90dfc6593bb848a6c116 commit: 8e5caa72c2556c4ba1fb90dfc6593bb848a6c116 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-12T15:39:54Z summary: [3.13] gh-120326:

[Python-checkins] [3.13] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347) (GH-120411)

2024-06-12 Thread serhiy-storchaka
https://github.com/python/cpython/commit/f0788cb41906407f567cc84d40bb2e9e80fb6a1b commit: f0788cb41906407f567cc84d40bb2e9e80fb6a1b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-06-12T14:51:35Z summary: [3.13] gh

[Python-checkins] gh-120388: Improve deprecation warning message, when test returns non-None (#120401)

2024-06-12 Thread sobolevn
https://github.com/python/cpython/commit/fabcf6bc8f89f008319442dea614d5cbeb959544 commit: fabcf6bc8f89f008319442dea614d5cbeb959544 branch: main author: Nikita Sobolev committer: sobolevn date: 2024-06-12T14:50:58Z summary: gh-120388: Improve deprecation warning message, when test returns non-Non

[Python-checkins] [3.12] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347) (GH-120412)

2024-06-12 Thread serhiy-storchaka
https://github.com/python/cpython/commit/319233f137a4ced96ef7def6f3e1645c4b28bb88 commit: 319233f137a4ced96ef7def6f3e1645c4b28bb88 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-06-12T14:42:06Z summary: [3.12] gh

[Python-checkins] gh-120345: Fix incorrect use of the :class: role with the "()" suffix (GH-120347)

2024-06-12 Thread serhiy-storchaka
https://github.com/python/cpython/commit/92c9c6ae147e1e658bbc8d454f8c7b2c4dea31d1 commit: 92c9c6ae147e1e658bbc8d454f8c7b2c4dea31d1 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-06-12T17:23:03+03:00 summary: gh-120345: Fix incorrect use of the :class: role with the

[Python-checkins] [3.13] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120409)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/e04809299fc1a5f0ff0b567173439cb0b6f8e907 commit: e04809299fc1a5f0ff0b567173439cb0b6f8e907 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-12T14:07:36Z summary: [3.13] gh-120155:

[Python-checkins] [3.12] gh-120155: Add assertion to sre.c match_getindex() (GH-120402) (#120410)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/ab309343655a668863e6fcec9de4cfd428ba0392 commit: ab309343655a668863e6fcec9de4cfd428ba0392 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-06-12T13:57:45Z summary: [3.12] gh-120155:

[Python-checkins] [3.13] gh-117657: Make Py_TYPE and Py_SET_TYPE thread safe (GH-120165) (GH-120403)

2024-06-12 Thread Fidget-Spinner
https://github.com/python/cpython/commit/91cd22a36119c83c9a21bfe0efe39d745086 commit: 91cd22a36119c83c9a21bfe0efe39d745086 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: Fidget-Spinner date: 2024-06-12T21:37:26+08:00 summary: [3.13]

[Python-checkins] gh-120155: Add assertion to sre.c match_getindex() (#120402)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/42b25dd61ff3593795c4cc2ffe876ab766098b24 commit: 42b25dd61ff3593795c4cc2ffe876ab766098b24 branch: main author: Victor Stinner committer: vstinner date: 2024-06-12T15:27:07+02:00 summary: gh-120155: Add assertion to sre.c match_getindex() (#120402) Add an

[Python-checkins] gh-120400 :Support Linux perf profile to see Python calls on RISC-V architecture (#120089)

2024-06-12 Thread pablogsal
https://github.com/python/cpython/commit/4b1e85bafc5bcb8cb70bb17164e07aebf7ad7e8e commit: 4b1e85bafc5bcb8cb70bb17164e07aebf7ad7e8e branch: main author: ixgbe00 committer: pablogsal date: 2024-06-12T14:24:46+01:00 summary: gh-120400 :Support Linux perf profile to see Python calls on RISC-V archi

[Python-checkins] gh-120029: remove unused macros in ``symtable.c`` (#120222)

2024-06-12 Thread carljm
https://github.com/python/cpython/commit/32d3e05fe67d43f7285e582a87e65374cf7c2972 commit: 32d3e05fe67d43f7285e582a87e65374cf7c2972 branch: main author: Bénédikt Tran <[email protected]> committer: carljm date: 2024-06-12T09:23:45-04:00 summary: gh-120029: remove unused mac

[Python-checkins] gh-120198: Fix race condition when editing __class__ with an audit hook active (GH-120195)

2024-06-12 Thread zooba
https://github.com/python/cpython/commit/e8a9f0c9e76ef07f1294c06634694d799217062a commit: e8a9f0c9e76ef07f1294c06634694d799217062a branch: 3.12 author: Ken Jin committer: zooba date: 2024-06-12T14:06:24+01:00 summary: gh-120198: Fix race condition when editing __class__ with an audit hook active

[Python-checkins] gh-117657: Make Py_TYPE and Py_SET_TYPE thread safe (GH-120165)

2024-06-12 Thread Fidget-Spinner
https://github.com/python/cpython/commit/e16aed63f64b18a26859eff3de976ded373e66b8 commit: e16aed63f64b18a26859eff3de976ded373e66b8 branch: main author: Ken Jin committer: Fidget-Spinner date: 2024-06-12T20:41:07+08:00 summary: gh-117657: Make Py_TYPE and Py_SET_TYPE thread safe (GH-120165) Co-a

[Python-checkins] Fix typos in documentation (#120338)

2024-06-12 Thread sobolevn
https://github.com/python/cpython/commit/ce3879bd45e068f8e2a5a214acd234ca44cad53b commit: ce3879bd45e068f8e2a5a214acd234ca44cad53b branch: main author: Xie Yanbo committer: sobolevn date: 2024-06-12T12:24:43Z summary: Fix typos in documentation (#120338) files: M InternalDocs/compiler.md M Lib/

[Python-checkins] [3.13] gh-93691: fix too broad source locations of for statement iterators (GH-120330) (#120399)

2024-06-12 Thread iritkatriel
https://github.com/python/cpython/commit/39825a7533ccf1aa0343d14fe88015db4ee6ef93 commit: 39825a7533ccf1aa0343d14fe88015db4ee6ef93 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: iritkatriel <[email protected]> date:

[Python-checkins] gh-93691: fix too broad source locations of for statement iterators (#120330)

2024-06-12 Thread iritkatriel
https://github.com/python/cpython/commit/97b69db167be28a33688db436551a6c3c3ea4662 commit: 97b69db167be28a33688db436551a6c3c3ea4662 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-06-12T

[Python-checkins] gh-120029: make `symtable.Symbol.__repr__` correctly reflect the compiler's flags, add methods (#120099)

2024-06-12 Thread JelleZijlstra
https://github.com/python/cpython/commit/755dab719dfc924dd8aef46f67512dabb8f25071 commit: 755dab719dfc924dd8aef46f67512dabb8f25071 branch: main author: Bénédikt Tran <[email protected]> committer: JelleZijlstra date: 2024-06-12T05:14:50-06:00 summary: gh-120029: make `symt

[Python-checkins] gh-101575: document Decimal.__round__() (GH-101737)

2024-06-12 Thread encukou
https://github.com/python/cpython/commit/7dd8c37a067f9fcb6a2a658d6a93b294cc2e6fb4 commit: 7dd8c37a067f9fcb6a2a658d6a93b294cc2e6fb4 branch: main author: Owain Davies <[email protected]> committer: encukou date: 2024-06-12T12:07:25+02:00 summary: gh-101575: document Decimal

[Python-checkins] [3.13] gh-118908: Fix completions after namespace change in REPL (GH-120370) (#120392)

2024-06-12 Thread lysnikolaou
https://github.com/python/cpython/commit/10821ccf0671a5d660ab5df7b5d4bfa0e9c8d112 commit: 10821ccf0671a5d660ab5df7b5d4bfa0e9c8d112 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: lysnikolaou date: 2024-06-12T08:48:22Z summary: [3.13] gh-1189

[Python-checkins] gh-118908: Fix completions after namespace change in REPL (#120370)

2024-06-12 Thread lysnikolaou
https://github.com/python/cpython/commit/02e74c356223feb0771759286d24d1dbac01d4ca commit: 02e74c356223feb0771759286d24d1dbac01d4ca branch: main author: Lysandros Nikolaou committer: lysnikolaou date: 2024-06-12T10:21:53+02:00 summary: gh-118908: Fix completions after namespace change in REPL (#1

[Python-checkins] gh-120385: Fix reference leak in symtable (#120386)

2024-06-12 Thread vstinner
https://github.com/python/cpython/commit/19435d299a1fae9ad9a6bbe6609e41ddfd7f6cbe commit: 19435d299a1fae9ad9a6bbe6609e41ddfd7f6cbe branch: main author: Kirill Podoprigora committer: vstinner date: 2024-06-12T09:37:14+02:00 summary: gh-120385: Fix reference leak in symtable (#120386) Decref 'new