[Python-checkins] gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (#121843)

2024-07-17 Thread sobolevn
https://github.com/python/cpython/commit/f6c7d8d79c4e17167af98f2e0cb4b1e55d7b5d3c commit: f6c7d8d79c4e17167af98f2e0cb4b1e55d7b5d3c branch: main author: sobolevn committer: sobolevn date: 2024-07-17T10:00:07+03:00 summary: gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (#121843) file

[Python-checkins] gh-121834: Improve `complex` C-API docs (#121835)

2024-07-17 Thread sobolevn
https://github.com/python/cpython/commit/72dccd60735b597e99c007a7b69210763a746877 commit: 72dccd60735b597e99c007a7b69210763a746877 branch: main author: sobolevn committer: sobolevn date: 2024-07-17T10:01:28+03:00 summary: gh-121834: Improve `complex` C-API docs (#121835) Co-authored-by: Sergey

[Python-checkins] [3.12] gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (GH-121843) (#121894)

2024-07-17 Thread sobolevn
https://github.com/python/cpython/commit/6e0ba93dfa625fa329a9361062de8efc1a12c990 commit: 6e0ba93dfa625fa329a9361062de8efc1a12c990 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn date: 2024-07-17T07:16:25Z summary: [3.12] gh-121842:

[Python-checkins] Fix Several Typos in Readme & Tests (#121559)

2024-07-17 Thread rhettinger
https://github.com/python/cpython/commit/dc9cc91f76fbbaa09a3bb40d0cbb6f9a2381e269 commit: dc9cc91f76fbbaa09a3bb40d0cbb6f9a2381e269 branch: main author: Michael <65680649+michaelg...@users.noreply.github.com> committer: rhettinger date: 2024-07-17T00:24:35-07:00 summary: Fix Several Typos in Readm

[Python-checkins] [3.13] gh-121834: Improve `complex` C-API docs (GH-121835) (#121895)

2024-07-17 Thread sobolevn
https://github.com/python/cpython/commit/bcf1c7004d6254e220dce431d0b49be04003587d commit: bcf1c7004d6254e220dce431d0b49be04003587d branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn date: 2024-07-17T07:25:07Z summary: [3.13] gh-121834:

[Python-checkins] [3.13] gh-121842: Improve coverage of `PyBytes_FromStringAndSize` (GH-121843) (#121893)

2024-07-17 Thread sobolevn
https://github.com/python/cpython/commit/96c524cef641d53f887321488b29d12c0ac21ac7 commit: 96c524cef641d53f887321488b29d12c0ac21ac7 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: sobolevn date: 2024-07-17T07:24:44Z summary: [3.13] gh-121842:

[Python-checkins] [3.12] gh-121834: Improve `complex` C-API docs (GH-121835) (#121897)

2024-07-17 Thread sobolevn
https://github.com/python/cpython/commit/6a19d22a190be2a2ccdde3a273bc319b6acdf1f2 commit: 6a19d22a190be2a2ccdde3a273bc319b6acdf1f2 branch: 3.12 author: sobolevn committer: sobolevn date: 2024-07-17T07:30:18Z summary: [3.12] gh-121834: Improve `complex` C-API docs (GH-121835) (#121897) * [3.12]

[Python-checkins] Remove duplicate "it" in whatsnew 3.13 (#121580)

2024-07-17 Thread rhettinger
https://github.com/python/cpython/commit/5d98a4d266fef754455baf8e65a20dd140ebecd3 commit: 5d98a4d266fef754455baf8e65a20dd140ebecd3 branch: main author: Rafael Fontenelle committer: rhettinger date: 2024-07-17T00:31:21-07:00 summary: Remove duplicate "it" in whatsnew 3.13 (#121580) files: M Doc/

[Python-checkins] [3.13] Remove duplicate "it" in whatsnew 3.13 (GH-121580) (gh-121899)

2024-07-17 Thread rhettinger
https://github.com/python/cpython/commit/d358f74a695b41b2b494b82df7ce3fd719dfac9c commit: d358f74a695b41b2b494b82df7ce3fd719dfac9c branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: rhettinger date: 2024-07-17T07:52:22Z summary: [3.13] Remove d

[Python-checkins] [3.12] gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154)

2024-07-17 Thread serhiy-storchaka
https://github.com/python/cpython/commit/874eed6cfe165df6469bf806cd3f1eb08e432286 commit: 874eed6cfe165df6469bf806cd3f1eb08e432286 branch: 3.12 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-07-17T07:58:25Z summary: [3.12] gh-121153: Fix some errors with use of _PyLong_CompactVa

[Python-checkins] [3.13] gh-121153: Fix some errors with use of _PyLong_CompactValue() (GH-121154) (GH-121900)

2024-07-17 Thread serhiy-storchaka
https://github.com/python/cpython/commit/09ff4ec14f4285aca1ddf907274e2bb3a1fbb6a1 commit: 09ff4ec14f4285aca1ddf907274e2bb3a1fbb6a1 branch: 3.13 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-07-17T08:04:45Z summary: [3.13] gh-121153: Fix some errors with use of _PyLong_CompactVa

[Python-checkins] gh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (#121896)

2024-07-17 Thread vstinner
https://github.com/python/cpython/commit/bfdbeac355235f6831ace5b514264bd1908000e5 commit: bfdbeac355235f6831ace5b514264bd1908000e5 branch: main author: Victor Stinner committer: vstinner date: 2024-07-17T10:26:05+02:00 summary: gh-121849: Fix PyUnicodeWriter_WriteSubstring() crash if len=0 (#121

[Python-checkins] gh-121863: Immortalize names in code objects to avoid crash (GH-121903)

2024-07-17 Thread encukou
https://github.com/python/cpython/commit/cffad5c6ef9371b26e32556296cea2bfe8358b1a commit: cffad5c6ef9371b26e32556296cea2bfe8358b1a branch: main author: Petr Viktorin committer: encukou date: 2024-07-17T11:31:28+02:00 summary: gh-121863: Immortalize names in code objects to avoid crash (GH-121903

[Python-checkins] [3.13] gh-121863: Immortalize names in code objects to avoid crash (GH-121903) (GH-121904)

2024-07-17 Thread encukou
https://github.com/python/cpython/commit/72cd53ea15c6b304b826fe2ec69fa5afb1d3664e commit: 72cd53ea15c6b304b826fe2ec69fa5afb1d3664e branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: encukou date: 2024-07-17T09:55:22Z summary: [3.13] gh-121863:

[Python-checkins] [3.13] gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep immortalizing in other API (GH-121364) (GH-121854)

2024-07-17 Thread encukou
https://github.com/python/cpython/commit/4395d68c7017eacf0ad643befe1f1e0bc6149f26 commit: 4395d68c7017eacf0ad643befe1f1e0bc6149f26 branch: 3.13 author: Petr Viktorin committer: encukou date: 2024-07-17T14:51:42+02:00 summary: [3.13] gh-113993: Don't immortalize in PyUnicode_InternInPlace; keep

[Python-checkins] gh-119698: fix a special case in `symtable.Class.get_methods` (#121802)

2024-07-17 Thread JelleZijlstra
https://github.com/python/cpython/commit/6682d916780c1cb305e679a057ee6992b114118e commit: 6682d916780c1cb305e679a057ee6992b114118e branch: main author: Bénédikt Tran <10796600+picn...@users.noreply.github.com> committer: JelleZijlstra date: 2024-07-17T06:27:35-07:00 summary: gh-119698: fix a spec

[Python-checkins] gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#121876)

2024-07-17 Thread terryjreedy
https://github.com/python/cpython/commit/58753f33e47fe48906883dc010771f68c13b7e52 commit: 58753f33e47fe48906883dc010771f68c13b7e52 branch: main author: Terry Jan Reedy committer: terryjreedy date: 2024-07-17T09:33:33-04:00 summary: gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (#12

[Python-checkins] [3.13] gh-119698: fix a special case in `symtable.Class.get_methods` (GH-121802) (#121909)

2024-07-17 Thread JelleZijlstra
https://github.com/python/cpython/commit/c6ef5aca614e3ee1cfe4125148d80e0e0bd77462 commit: c6ef5aca614e3ee1cfe4125148d80e0e0bd77462 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: JelleZijlstra date: 2024-07-17T13:54:40Z summary: [3.13] gh-11

[Python-checkins] [3.12] gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (GH-121876) (#121912)

2024-07-17 Thread terryjreedy
https://github.com/python/cpython/commit/a6516de08b7062d224a6a5f88a7d4ad4dd1fd051 commit: a6516de08b7062d224a6a5f88a7d4ad4dd1fd051 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: terryjreedy date: 2024-07-17T14:03:54Z summary: [3.12] gh-7888

[Python-checkins] [3.13] gh-78889: Stop IDLE Shell freezes from sys.stdout.shell.xyz (GH-121876) (#121911)

2024-07-17 Thread terryjreedy
https://github.com/python/cpython/commit/5a8e1373fe5700ca52b55117880b32912fbece3a commit: 5a8e1373fe5700ca52b55117880b32912fbece3a branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: terryjreedy date: 2024-07-17T14:10:13Z summary: [3.13] gh-7888

[Python-checkins] gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904)

2024-07-17 Thread ambv
https://github.com/python/cpython/commit/ac07451116d52dd6a5545d27b6a2e3737ed27cf0 commit: ac07451116d52dd6a5545d27b6a2e3737ed27cf0 branch: main author: Alex Waygood committer: ambv date: 2024-07-17T16:18:42+02:00 summary: gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-12090

[Python-checkins] [3.13] gh-120678: pyrepl: Include globals from modules passed with `-i` (GH-120904) (#121916)

2024-07-17 Thread ambv
https://github.com/python/cpython/commit/3d9692dbf8f38747ea07f6387724a5928df0eb1a commit: 3d9692dbf8f38747ea07f6387724a5928df0eb1a branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: ambv date: 2024-07-17T16:52:46+02:00 summary: [3.13] gh-120678

[Python-checkins] [3.13] Move misplaced blurb entries (#121919)

2024-07-17 Thread Yhg1s
https://github.com/python/cpython/commit/ea364204db7896b71dc6806ca15c48ec5c295bb1 commit: ea364204db7896b71dc6806ca15c48ec5c295bb1 branch: 3.13 author: T. Wouters committer: Yhg1s date: 2024-07-17T15:33:30Z summary: [3.13] Move misplaced blurb entries (#121919) Move misplaced blurb entries from

[Python-checkins] gh-120678: Guard against stdin.fileno() being unavailable (#121924)

2024-07-17 Thread Yhg1s
https://github.com/python/cpython/commit/19cbf8fd636192059550d0c908c3e29797feed1f commit: 19cbf8fd636192059550d0c908c3e29797feed1f branch: main author: Łukasz Langa committer: Yhg1s date: 2024-07-17T16:05:34Z summary: gh-120678: Guard against stdin.fileno() being unavailable (#121924) files: M

[Python-checkins] gh-121925: Fix uninitialized variables in `main.c` (#121926)

2024-07-17 Thread Yhg1s
https://github.com/python/cpython/commit/f4bc84d261c828ed81f137f2a48fa2f0de7a0211 commit: f4bc84d261c828ed81f137f2a48fa2f0de7a0211 branch: main author: sobolevn committer: Yhg1s date: 2024-07-17T16:13:37Z summary: gh-121925: Fix uninitialized variables in `main.c` (#121926) files: M Modules/mai

[Python-checkins] [3.13] gh-120678: Guard against stdin.fileno() being unavailable (GH-121924) (#121929)

2024-07-17 Thread Yhg1s
https://github.com/python/cpython/commit/91e098f44dbb5b6533e5173ec9a819de4cae6660 commit: 91e098f44dbb5b6533e5173ec9a819de4cae6660 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: Yhg1s date: 2024-07-17T16:33:28Z summary: [3.13] gh-120678: Gu

[Python-checkins] [3.13] gh-121925: Fix uninitialized variables in `main.c` (GH-121926) (#121931)

2024-07-17 Thread Yhg1s
https://github.com/python/cpython/commit/449529a8c2ebf5790072cb0d7a2b236eaf663e4a commit: 449529a8c2ebf5790072cb0d7a2b236eaf663e4a branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: Yhg1s date: 2024-07-17T17:00:42Z summary: [3.13] gh-121925: Fi

[Python-checkins] gh-121528: Fix _PyObject_Init() assertion for stable ABI (#121725)

2024-07-17 Thread vstinner
https://github.com/python/cpython/commit/b826e459ca6b640f896c2a9551bb2c78d10f0e2b commit: b826e459ca6b640f896c2a9551bb2c78d10f0e2b branch: main author: Victor Stinner committer: vstinner date: 2024-07-17T21:49:37+02:00 summary: gh-121528: Fix _PyObject_Init() assertion for stable ABI (#121725)

[Python-checkins] gh-121266: Change dict check_lookup() return type to int (#121581)

2024-07-17 Thread vstinner
https://github.com/python/cpython/commit/51da3dfbf3782ad678624e720ec3fc8dfff27d16 commit: 51da3dfbf3782ad678624e720ec3fc8dfff27d16 branch: main author: Victor Stinner committer: vstinner date: 2024-07-17T21:52:19+02:00 summary: gh-121266: Change dict check_lookup() return type to int (#121581)

[Python-checkins] [3.13] gh-121528: Fix _PyObject_Init() assertion for stable ABI (GH-121725) (#121936)

2024-07-17 Thread vstinner
https://github.com/python/cpython/commit/f7b2b2a8fb167ee259990bd837db81d5f2b8d5a6 commit: f7b2b2a8fb167ee259990bd837db81d5f2b8d5a6 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: vstinner date: 2024-07-17T20:14:22Z summary: [3.13] gh-121528:

[Python-checkins] Add note about PYTHON_JIT environment variable to JIT README (GH-121635)

2024-07-17 Thread brandtbucher
https://github.com/python/cpython/commit/f113c1a2a9d4fb2860de1bd8c05677f00fd49bd9 commit: f113c1a2a9d4fb2860de1bd8c05677f00fd49bd9 branch: main author: Savannah Ostrowski committer: brandtbucher date: 2024-07-17T15:17:47-07:00 summary: Add note about PYTHON_JIT environment variable to JIT README

[Python-checkins] [3.13] Add note about PYTHON_JIT environment variable to JIT README (GH-121942)

2024-07-17 Thread brandtbucher
https://github.com/python/cpython/commit/a12c10590828cd840679f44ed1a92f2d970eb940 commit: a12c10590828cd840679f44ed1a92f2d970eb940 branch: 3.13 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: brandtbucher date: 2024-07-17T22:18:39Z summary: [3.13] Add no

[Python-checkins] gh-121621: Move asyncio_running_loop to private struct (#121939)

2024-07-17 Thread Yhg1s
https://github.com/python/cpython/commit/81fd625b5c30cc6f417c93bad404923676ad8ca3 commit: 81fd625b5c30cc6f417c93bad404923676ad8ca3 branch: main author: Sam Gross committer: Yhg1s date: 2024-07-17T15:21:24-07:00 summary: gh-121621: Move asyncio_running_loop to private struct (#121939) This avoid

[Python-checkins] [3.12] gh-119698: fix a special case in `symtable.Class.get_methods` (GH-121802) (#121910)

2024-07-17 Thread JelleZijlstra
https://github.com/python/cpython/commit/3279a4fbfff509a80cc5401b6997e8310ffadd84 commit: 3279a4fbfff509a80cc5401b6997e8310ffadd84 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: JelleZijlstra date: 2024-07-17T22:32:29Z summary: [3.12] gh-11

[Python-checkins] gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (#121493)

2024-07-17 Thread vstinner
https://github.com/python/cpython/commit/c5a6b9afd82cad3f6abd9dc71cd5fdd5781a53f5 commit: c5a6b9afd82cad3f6abd9dc71cd5fdd5781a53f5 branch: main author: Victor Stinner committer: vstinner date: 2024-07-18T08:19:32+02:00 summary: gh-121266: Remove Py_ALWAYS_INLINE in dictobject.c (#121493) compar