[Python-checkins] [3.12] gh-120586: Fix several "unused function" warnings in `posixmodule.c` (GH-120588) (#120617)

2024-06-17 Thread sobolevn
https://github.com/python/cpython/commit/e004914045ad811da5b497e5dadaec9a1b4535ed commit: e004914045ad811da5b497e5dadaec9a1b4535ed branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn date: 2024-06-17T07:01:15Z summary: [3.12] gh-120586:

[Python-checkins] [3.13] gh-120586: Fix several "unused function" warnings in `posixmodule.c` (GH-120588) (#120616)

2024-06-17 Thread sobolevn
https://github.com/python/cpython/commit/03b89e3a3d155a06827f58d51238a731d8800cc9 commit: 03b89e3a3d155a06827f58d51238a731d8800cc9 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn date: 2024-06-17T07:09:11Z summary: [3.13] gh-120586:

[Python-checkins] gh-83754: Use the Py_TYPE() macro (#120599)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/c2d5df5787b1f7fbd2583811c66c34a417593cad commit: c2d5df5787b1f7fbd2583811c66c34a417593cad branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T10:34:29+02:00 summary: gh-83754: Use the Py_TYPE() macro (#120599) Don't access directly P

[Python-checkins] gh-120367: fix removal of redundant NOPs and jumps after reordering hot-cold blocks (#120425)

2024-06-17 Thread iritkatriel
https://github.com/python/cpython/commit/21866c8ed296524f0ca175c0f55b43744c2b30df commit: 21866c8ed296524f0ca175c0f55b43744c2b30df branch: main author: Irit Katriel <1055913+iritkatr...@users.noreply.github.com> committer: iritkatriel <1055913+iritkatr...@users.noreply.github.com> date: 2024-06-17T

[Python-checkins] gh-120196: Reuse find_max_char() for bytes objects (#120497)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/945a89b48f017d711055da039899eaecc2eb7ddd commit: 945a89b48f017d711055da039899eaecc2eb7ddd branch: main author: Ruben Vorderman committer: vstinner date: 2024-06-17T12:21:58+02:00 summary: gh-120196: Reuse find_max_char() for bytes objects (#120497) files

[Python-checkins] itertools doc: examples for groupby() and tee() (#120618)

2024-06-17 Thread rhettinger
https://github.com/python/cpython/commit/79e09e60d865b7b3fcde9ccee86a502da82bb2b3 commit: 79e09e60d865b7b3fcde9ccee86a502da82bb2b3 branch: main author: Frank Dana committer: rhettinger date: 2024-06-17T08:19:14-05:00 summary: itertools doc: examples for groupby() and tee() (#120618) files: M Do

[Python-checkins] GH-120619: Clean up `RETURN_VALUE` instruction (GH-120624)

2024-06-17 Thread markshannon
https://github.com/python/cpython/commit/274f844830898355f14d6edb6e71894a2f37e53c commit: 274f844830898355f14d6edb6e71894a2f37e53c branch: main author: Mark Shannon committer: markshannon date: 2024-06-17T14:40:11+01:00 summary: GH-120619: Clean up `RETURN_VALUE` instruction (GH-120624) * Renam

[Python-checkins] gh-119933: Improve ``SyntaxError`` message for invalid type parameters expressions (#119976)

2024-06-17 Thread JelleZijlstra
https://github.com/python/cpython/commit/4bf17c381fb7b465f0f26aecb94a6c54cf9be2d3 commit: 4bf17c381fb7b465f0f26aecb94a6c54cf9be2d3 branch: main author: Bénédikt Tran <10796600+picn...@users.noreply.github.com> committer: JelleZijlstra date: 2024-06-17T06:51:03-07:00 summary: gh-119933: Improve ``

[Python-checkins] Update the documentation howto index page and group docs into 3 logical sections (GH-119366)

2024-06-17 Thread encukou
https://github.com/python/cpython/commit/a26d27e7ee512cd822b7a7ba075171152779ffdd commit: a26d27e7ee512cd822b7a7ba075171152779ffdd branch: main author: Carol Willing committer: encukou date: 2024-06-17T16:37:33+02:00 summary: Update the documentation howto index page and group docs into 3 logica

[Python-checkins] gh-114091: Reword error message for unawaitable types (#114090)

2024-06-17 Thread kumaraditya303
https://github.com/python/cpython/commit/2c7209a3bdf81a289ccd6b80a77497cfcd5732de commit: 2c7209a3bdf81a289ccd6b80a77497cfcd5732de branch: main author: Steele Farnsworth committer: kumaraditya303 date: 2024-06-17T20:18:17+05:30 summary: gh-114091: Reword error message for unawaitable types (#114

[Python-checkins] [3.13] gh-119933: Improve ``SyntaxError`` message for invalid type parameters expressions (GH-119976) (#120641)

2024-06-17 Thread JelleZijlstra
https://github.com/python/cpython/commit/7c47f93dff878bdc43f5162dd878cbb375711570 commit: 7c47f93dff878bdc43f5162dd878cbb375711570 branch: 3.13 author: Jelle Zijlstra committer: JelleZijlstra date: 2024-06-17T08:01:49-07:00 summary: [3.13] gh-119933: Improve ``SyntaxError`` message for invalid t

[Python-checkins] [3.13] gh-120367: fix removal of redundant NOPs and jumps after reordering hot-cold blocks (GH-120425) (#120621)

2024-06-17 Thread iritkatriel
https://github.com/python/cpython/commit/61a2229005749dac782fc2e950d3f4fd25ed2181 commit: 61a2229005749dac782fc2e950d3f4fd25ed2181 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: iritkatriel <1055913+iritkatr...@users.noreply.github.com> date:

[Python-checkins] gh-119182: Add PyUnicodeWriter C API (#119184)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/5c4235cd8ce00852cfcb2d3a2cb4c66c6c53c4bf commit: 5c4235cd8ce00852cfcb2d3a2cb4c66c6c53c4bf branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T17:10:52+02:00 summary: gh-119182: Add PyUnicodeWriter C API (#119184) files: A Misc/NEWS.

[Python-checkins] gh-120417: Remove unused imports in tests (part 4) (#120632)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/f4d301d8b99e5a001c89b0aea091b07b70c6354c commit: f4d301d8b99e5a001c89b0aea091b07b70c6354c branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T17:35:20+02:00 summary: gh-120417: Remove unused imports in tests (part 4) (#120632) files:

[Python-checkins] gh-120433: Mention ``chocolatey`` for installing llvm on Windows as an alternative option (#120434)

2024-06-17 Thread sobolevn
https://github.com/python/cpython/commit/95737bbf18765a24b6585708588c9b707dc30d27 commit: 95737bbf18765a24b6585708588c9b707dc30d27 branch: main author: Kirill Podoprigora committer: sobolevn date: 2024-06-17T15:52:07Z summary: gh-120433: Mention ``chocolatey`` for installing llvm on Windows as a

[Python-checkins] gh-115649: Copy the filename into main interpreter before intern in import.c (#120315)

2024-06-17 Thread kumaraditya303
https://github.com/python/cpython/commit/28140d1f2da1766bfbb83f58779f15255c73c871 commit: 28140d1f2da1766bfbb83f58779f15255c73c871 branch: main author: AN Long committer: kumaraditya303 date: 2024-06-17T21:27:22+05:30 summary: gh-115649: Copy the filename into main interpreter before intern in i

[Python-checkins] fix enum doc typo (#120091)

2024-06-17 Thread kumaraditya303
https://github.com/python/cpython/commit/0506f75c53ce0895408050ededcfb66bc07eb19b commit: 0506f75c53ce0895408050ededcfb66bc07eb19b branch: main author: Saul Pwanson committer: kumaraditya303 date: 2024-06-17T21:31:15+05:30 summary: fix enum doc typo (#120091) files: M Doc/library/enum.rst diff

[Python-checkins] gh-120507: Double WASI memory (#120648)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/6acf7776ef8e0f08e1d4b4b5511bea8d716f571f commit: 6acf7776ef8e0f08e1d4b4b5511bea8d716f571f branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T16:08:05Z summary: gh-120507: Double WASI memory (#120648) Use 16 MiB stack with 40 MiB mem

[Python-checkins] gh-120417: Remove unused imports in Tools (#120623)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/d9b4316374ac27ec38ca8c829ff3fc2367ebd095 commit: d9b4316374ac27ec38ca8c829ff3fc2367ebd095 branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T18:09:26+02:00 summary: gh-120417: Remove unused imports in Tools (#120623) files: M PC/lay

[Python-checkins] [3.13] gh-120433: Mention ``chocolatey`` for installing llvm on Windows as an alternative option (GH-120434) (#120651)

2024-06-17 Thread sobolevn
https://github.com/python/cpython/commit/f7ba3233a2b6cd6e19c47253d8ab627cd1802ca8 commit: f7ba3233a2b6cd6e19c47253d8ab627cd1802ca8 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn date: 2024-06-17T19:18:07+03:00 summary: [3.13] gh-12

[Python-checkins] [3.13] gh-115649: Copy the filename into main interpreter before intern in import.c (GH-120315) (#120652)

2024-06-17 Thread kumaraditya303
https://github.com/python/cpython/commit/9172bc35c669b7706d7122d4f0a90f065700a474 commit: 9172bc35c669b7706d7122d4f0a90f065700a474 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: kumaraditya303 date: 2024-06-17T22:30:26+05:30 summary: [3.13]

[Python-checkins] gh-117657: Fix TSan reported data race on ioctl_works (#120175)

2024-06-17 Thread colesbury
https://github.com/python/cpython/commit/460cc9e14e221c53c0038a847bfd411fe184ebf3 commit: 460cc9e14e221c53c0038a847bfd411fe184ebf3 branch: main author: Sam Gross committer: colesbury date: 2024-06-17T13:23:40-04:00 summary: gh-117657: Fix TSan reported data race on ioctl_works (#120175) files:

[Python-checkins] [3.12] gh-119824: Print stack entry when user input is needed …(#120594)

2024-06-17 Thread gaogaotiantian
https://github.com/python/cpython/commit/e4f1fed5f6bb788d6d5a86bdbb770d25066636d1 commit: e4f1fed5f6bb788d6d5a86bdbb770d25066636d1 branch: 3.12 author: Tian Gao committer: gaogaotiantian date: 2024-06-17T10:40:49-07:00 summary: [3.12] gh-119824: Print stack entry when user input is needed … (#12

[Python-checkins] [3.13] gh-117657: Fix TSan reported data race on ioctl_works (GH-120175) (#120654)

2024-06-17 Thread colesbury
https://github.com/python/cpython/commit/0dbb86c5bebf8d85dd295840261e1c944726271c commit: 0dbb86c5bebf8d85dd295840261e1c944726271c branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: colesbury date: 2024-06-17T17:52:49Z summary: [3.13] gh-117657

[Python-checkins] [3.11] gh-112346: Document the OS byte in `gzip.compress` output change in 3.11 (GH-120480) (#120614)

2024-06-17 Thread pablogsal
https://github.com/python/cpython/commit/1b0e63c81b54a937b089fe335761cba4a96c8cdf commit: 1b0e63c81b54a937b089fe335761cba4a96c8cdf branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: pablogsal date: 2024-06-17T19:01:59+01:00 summary: [3.11] gh-1

[Python-checkins] gh-117657: Fix `__slots__` thread safety in free-threaded build (#119368)

2024-06-17 Thread colesbury
https://github.com/python/cpython/commit/362cd2680b45a36c3467b9721ff7fc0ceb338452 commit: 362cd2680b45a36c3467b9721ff7fc0ceb338452 branch: main author: Daniele Parmeggiani <8658291+dpd...@users.noreply.github.com> committer: colesbury date: 2024-06-17T18:44:54Z summary: gh-117657: Fix `__slots__

[Python-checkins] gh-120417: Remove unused imports in tests (part 3) (#120631)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/f916b77fea9c6ce88d9be46aab2f3ff715a020f2 commit: f916b77fea9c6ce88d9be46aab2f3ff715a020f2 branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T21:04:58+02:00 summary: gh-120417: Remove unused imports in tests (part 3) (#120631) files:

[Python-checkins] gh-120417: Remove unused imports in tests (part 2) (#120630)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/5a8a979aeb7c9494949cbe5142d37dc5781a7bde commit: 5a8a979aeb7c9494949cbe5142d37dc5781a7bde branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T21:05:37+02:00 summary: gh-120417: Remove unused imports in tests (part 2) (#120630) files:

[Python-checkins] gh-120417: Remove unused imports in tests (part 1) (#120629)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/c608477532c56decd70afd5c5390973bda6df58f commit: c608477532c56decd70afd5c5390973bda6df58f branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T21:05:56+02:00 summary: gh-120417: Remove unused imports in tests (part 1) (#120629) files:

[Python-checkins] gh-120417: Modify test_bdb to use the import (#120628)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/e73c42e15cf83c7a81de016ce2827c04110c80c3 commit: e73c42e15cf83c7a81de016ce2827c04110c80c3 branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T21:06:18+02:00 summary: gh-120417: Modify test_bdb to use the import (#120628) Run test_mod

[Python-checkins] [3.13] gh-117657: Fix `__slots__` thread safety in free-threaded build (GH-119368) (#120655)

2024-06-17 Thread colesbury
https://github.com/python/cpython/commit/396f8b0b98441344e1d3223a4075e5e342e0c2df commit: 396f8b0b98441344e1d3223a4075e5e342e0c2df branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: colesbury date: 2024-06-17T19:12:25Z summary: [3.13] gh-117657

[Python-checkins] gh-120524: Avoid a Race On _PyRuntime.types.managed_static.types[i].interp_count (gh-120529)

2024-06-17 Thread ericsnowcurrently
https://github.com/python/cpython/commit/2c66318cdc0545da37e7046533dfe74bde129d91 commit: 2c66318cdc0545da37e7046533dfe74bde129d91 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-06-17T13:16:00-06:00 summary: gh-120524: Avoid a Race On _PyRuntime.types.managed_static.type

[Python-checkins] gh-120417: Remove unused imports in cases_generator (#120622)

2024-06-17 Thread vstinner
https://github.com/python/cpython/commit/35b16795d11cb50768ffad5fe8e61bdebde9b66a commit: 35b16795d11cb50768ffad5fe8e61bdebde9b66a branch: main author: Victor Stinner committer: vstinner date: 2024-06-17T21:58:56+02:00 summary: gh-120417: Remove unused imports in cases_generator (#120622) files

[Python-checkins] [3.13] gh-120524: Avoid a Race On _PyRuntime.types.managed_static.types[i].interp_count (gh-120657)

2024-06-17 Thread ericsnowcurrently
https://github.com/python/cpython/commit/71ad34d2190a1f16ac7dbc70b8bce8c6b2549109 commit: 71ad34d2190a1f16ac7dbc70b8bce8c6b2549109 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ericsnowcurrently date: 2024-06-17T16:13:40-06:00 summary: [3.

[Python-checkins] gh-120560: Mark `zip64` tests in `test_zipimport` as CPU-heavy (GH-120564)

2024-06-17 Thread brettcannon
https://github.com/python/cpython/commit/ac37a806018cc40fafebcd0fa90250c3e0261e0c commit: ac37a806018cc40fafebcd0fa90250c3e0261e0c branch: main author: Nice Zombies committer: brettcannon date: 2024-06-17T15:18:51-07:00 summary: gh-120560: Mark `zip64` tests in `test_zipimport` as CPU-heavy (GH-