[Python-checkins] gh-124872: Refine contextvars documentation (#124773)

2024-10-09 Thread 1st1
https://github.com/python/cpython/commit/99400930ac1d4e5e10a5ae30f8202d8bc2661e39 commit: 99400930ac1d4e5e10a5ae30f8202d8bc2661e39 branch: main author: Richard Hansen committer: 1st1 date: 2024-10-09T16:44:03-07:00 summary: gh-124872: Refine contextvars documentation (#124773) * Add definitions

[Python-checkins] gh-125196: Use PyUnicodeWriter for repr(contextvars.Token) (#125220)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/942916378aa6a0946b1385c2c7ca6935620d710a commit: 942916378aa6a0946b1385c2c7ca6935620d710a branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T23:37:14Z summary: gh-125196: Use PyUnicodeWriter for repr(contextvars.Token) (#125220) Rep

[Python-checkins] gh-125196: PyUnicodeWriter_Discard(NULL) does nothing (#125222)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/1b2a5485f94ccbe43a45eb9990a5649ae3d2499e commit: 1b2a5485f94ccbe43a45eb9990a5649ae3d2499e branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T23:32:02Z summary: gh-125196: PyUnicodeWriter_Discard(NULL) does nothing (#125222) files: M

[Python-checkins] gh-124969: Skip the test for ALT_DIGITS also on iOS (#125177)

2024-10-09 Thread freakboy3742
https://github.com/python/cpython/commit/9ad55e85d78c5338b1ad170e614345652bd1b651 commit: 9ad55e85d78c5338b1ad170e614345652bd1b651 branch: main author: Serhiy Storchaka committer: freakboy3742 date: 2024-10-10T07:30:14+08:00 summary: gh-124969: Skip the test for ALT_DIGITS also on iOS (#125177)

[Python-checkins] gh-125140: Remove the current directory from sys.path when using pyrepl (GH-125212)

2024-10-09 Thread ambv
https://github.com/python/cpython/commit/c7d5d1d93b630e352abd9a0c93ea6d34c443f444 commit: c7d5d1d93b630e352abd9a0c93ea6d34c443f444 branch: main author: Pablo Galindo Salgado committer: ambv date: 2024-10-09T22:30:56Z summary: gh-125140: Remove the current directory from sys.path when using pyrep

[Python-checkins] gh-125196: Use PyUnicodeWriter for repr(structseq) (#125219)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/1877543d03d323d581b5fc0f19eff501926ba151 commit: 1877543d03d323d581b5fc0f19eff501926ba151 branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T22:04:50Z summary: gh-125196: Use PyUnicodeWriter for repr(structseq) (#125219) Replace the

[Python-checkins] gh-125196: Add fast-path for int in PyUnicodeWriter_WriteStr() (#125214)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/ee3167b9787bf9424d5637a224233de775450231 commit: ee3167b9787bf9424d5637a224233de775450231 branch: main author: Victor Stinner committer: vstinner date: 2024-10-10T00:01:02+02:00 summary: gh-125196: Add fast-path for int in PyUnicodeWriter_WriteStr() (#125

[Python-checkins] GH-124693: Support parsing negative scientific and complex numbers argparse (GH-124823)

2024-10-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/0c5a48c1c9039eb1ce25a96c43505c4de0a0b9d7 commit: 0c5a48c1c9039eb1ce25a96c43505c4de0a0b9d7 branch: main author: Savannah Ostrowski committer: serhiy-storchaka date: 2024-10-09T21:56:50Z summary: GH-124693: Support parsing negative scientific and complex nu

[Python-checkins] gh-125196: Use PyUnicodeWriter for repr(list) (#125202)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/52f70da19cf3c7198be37faeac233ef803080f6f commit: 52f70da19cf3c7198be37faeac233ef803080f6f branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T23:56:30+02:00 summary: gh-125196: Use PyUnicodeWriter for repr(list) (#125202) Replace the

[Python-checkins] gh-91818: Use default program name in the CLI of many modules (GH-124867)

2024-10-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/7d2c39752fa6f685f15ad9c585d83a62553477c2 commit: 7d2c39752fa6f685f15ad9c585d83a62553477c2 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-10-10T00:20:53+03:00 summary: gh-91818: Use default program name in the CLI of many modu

[Python-checkins] GH-121970: Extract ``availability`` into a new extension (#125082)

2024-10-09 Thread AA-Turner
https://github.com/python/cpython/commit/cbfd39247983309a9ef0ae6da6c61cc71665b967 commit: cbfd39247983309a9ef0ae6da6c61cc71665b967 branch: main author: Adam Turner <[email protected]> committer: AA-Turner <[email protected]> date: 2024-10-09T21:50:0

[Python-checkins] [3.12] gh-101100: Consolidate documentation on `ModuleType` attributes (#124709) (#125211)

2024-10-09 Thread AlexWaygood
https://github.com/python/cpython/commit/cba37762acfb82ca7fdf4b2c9ea3ea54595b7571 commit: cba37762acfb82ca7fdf4b2c9ea3ea54595b7571 branch: 3.12 author: Alex Waygood committer: AlexWaygood date: 2024-10-09T19:18:38Z summary: [3.12] gh-101100: Consolidate documentation on `ModuleType` attributes

[Python-checkins] [3.13] gh-101100: Consolidate documentation on `ModuleType` attributes (#124709) (#125208)

2024-10-09 Thread AlexWaygood
https://github.com/python/cpython/commit/aa4da1e46833b4ba89aa2f9381c8d96a3f5efafc commit: aa4da1e46833b4ba89aa2f9381c8d96a3f5efafc branch: 3.13 author: Alex Waygood committer: AlexWaygood date: 2024-10-09T20:03:30+01:00 summary: [3.13] gh-101100: Consolidate documentation on `ModuleType` attribu

[Python-checkins] gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (gh-124865)

2024-10-09 Thread ericsnowcurrently
https://github.com/python/cpython/commit/f2cb39947093feda3ff85b8dc820922cc5e5f954 commit: f2cb39947093feda3ff85b8dc820922cc5e5f954 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-10-09T11:32:16-06:00 summary: gh-116510: Fix a Crash Due to Shared Immortal Interned Strings (

[Python-checkins] gh-119786: Move parser doc from devguide to InternalDocs (#125119)

2024-10-09 Thread iritkatriel
https://github.com/python/cpython/commit/d501153aed6cd9c03b77836821ed8d47f0655a0b commit: d501153aed6cd9c03b77836821ed8d47f0655a0b branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-10-09T

[Python-checkins] [3.13] docs: in venv table use executable name (GH-124315) (GH-125172)

2024-10-09 Thread vsajip
https://github.com/python/cpython/commit/47fa3f44ef30d0d677415e8903032841c1e1d3b7 commit: 47fa3f44ef30d0d677415e8903032841c1e1d3b7 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vsajip date: 2024-10-09T17:54:15+01:00 summary: [3.13] docs: i

[Python-checkins] [3.12] docs: in venv table use executable name (GH-124315) (#125171)

2024-10-09 Thread vsajip
https://github.com/python/cpython/commit/046687c620f5bff8fc9dead066ab30e9802ba5b0 commit: 046687c620f5bff8fc9dead066ab30e9802ba5b0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vsajip date: 2024-10-09T17:54:38+01:00 summary: [3.12] docs: i

[Python-checkins] gh-125196: Use PyUnicodeWriter in symtable.c (#125199)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/9bda7750c2af779d3431f5ea120db91c6c83ec49 commit: 9bda7750c2af779d3431f5ea120db91c6c83ec49 branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T17:54:54+02:00 summary: gh-125196: Use PyUnicodeWriter in symtable.c (#125199) files: M Pyt

[Python-checkins] gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, builtins} keys (gh-124953)

2024-10-09 Thread colesbury
https://github.com/python/cpython/commit/f978fb4f8d6eac0585057e463bb1701dc04a9900 commit: f978fb4f8d6eac0585057e463bb1701dc04a9900 branch: main author: mpage committer: colesbury date: 2024-10-09T15:18:25Z summary: gh-115999: Refactor `LOAD_GLOBAL` specializations to avoid reloading {globals, b

[Python-checkins] gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_STR) (#125194)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/b9a8ca0a6aa9251cb798f34f0c9d2cc95107eec6 commit: b9a8ca0a6aa9251cb798f34f0c9d2cc95107eec6 branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T17:15:23+02:00 summary: gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_STR) (#125194) Repl

[Python-checkins] gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#125195)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/6a39e96ab8ebc1144f713988ac6fe439e4476488 commit: 6a39e96ab8ebc1144f713988ac6fe439e4476488 branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T17:12:11+02:00 summary: gh-115754: Use Py_GetConstant(Py_CONSTANT_EMPTY_BYTES) (#125195) Re

[Python-checkins] gh-111178: Fix function signatures in codeobject.c (#125180)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/3ee474f5683110e153fdd0cbd2024f99d6c124e5 commit: 3ee474f5683110e153fdd0cbd2024f99d6c124e5 branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T15:02:24Z summary: gh-78: Fix function signatures in codeobject.c (#125180) files: M Ob

[Python-checkins] GH-120024: Tidy up pycore_stackref.h, splitting into GIL and free-threading sections (GH-125095)

2024-10-09 Thread markshannon
https://github.com/python/cpython/commit/eb18574cc3a0f99fca60b329283d1413abe6eb74 commit: eb18574cc3a0f99fca60b329283d1413abe6eb74 branch: main author: Mark Shannon committer: markshannon date: 2024-10-09T15:43:09+01:00 summary: GH-120024: Tidy up pycore_stackref.h, splitting into GIL and free-t

[Python-checkins] [3.12] gh-101100: Fix Sphinx warnings in `library/unittest.mock.rst` (GH-124106) (#125191)

2024-10-09 Thread hugovk
https://github.com/python/cpython/commit/7187d4f3b65a26aca1229f4c987d19c6d3ead0bb commit: 7187d4f3b65a26aca1229f4c987d19c6d3ead0bb branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2024-10-0

[Python-checkins] gh-111178: Fix function signatures in cellobject.c (#125182)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/440632adb2934277599bc246b405393ac54b684c commit: 440632adb2934277599bc246b405393ac54b684c branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T16:13:55+02:00 summary: gh-78: Fix function signatures in cellobject.c (#125182) files:

[Python-checkins] [3.13] gh-101100: Fix Sphinx warnings in `library/unittest.mock.rst` (GH-124106) (#125190)

2024-10-09 Thread hugovk
https://github.com/python/cpython/commit/ab5f1790d0817b8e2c1d15a6f2b2d85e1e313831 commit: ab5f1790d0817b8e2c1d15a6f2b2d85e1e313831 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2024-10-0

[Python-checkins] [3.9] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew's gdbm 1.24 (GH-125112) (#125176)

2024-10-09 Thread ambv
https://github.com/python/cpython/commit/be988e8aa6e6ac9e9a5143cf777c2caeb7f369cb commit: be988e8aa6e6ac9e9a5143cf777c2caeb7f369cb branch: 3.9 author: Petr Viktorin committer: ambv date: 2024-10-09T16:06:08+02:00 summary: [3.9] gh-89452: GHA: Set --with-dbmliborder to avoid issues with homebrew'

[Python-checkins] gh-101100: Fix Sphinx warnings in `library/unittest.mock.rst` (#124106)

2024-10-09 Thread hugovk
https://github.com/python/cpython/commit/a5716a30914cc11c3a4bec374cdaece3c79b541f commit: a5716a30914cc11c3a4bec374cdaece3c79b541f branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-10-09T17:02:18+0

[Python-checkins] [3.9] gh-100454: Fix running SSL tests with OpenSSL 3.1+ (GH-100456) (GH-125186)

2024-10-09 Thread ambv
https://github.com/python/cpython/commit/681e0fa658aa4670154585bfb779f4f654775363 commit: 681e0fa658aa4670154585bfb779f4f654775363 branch: 3.9 author: Miss Islington (bot) <[email protected]> committer: ambv date: 2024-10-09T15:41:22+02:00 summary: [3.9] gh-100454:

[Python-checkins] gh-125168: Fix typo in `__future__.rst` (#125183)

2024-10-09 Thread Eclips4
https://github.com/python/cpython/commit/e0835aff2e45629ee85af642190e79e4061312b5 commit: e0835aff2e45629ee85af642190e79e4061312b5 branch: main author: JamesMcCarthy21 <[email protected]> committer: Eclips4 date: 2024-10-09T16:17:18+03:00 summary: gh-125168: Fix t

[Python-checkins] gh-125039: Make `this_instr`/`prev_instr` const in cases generator (GH-125071)

2024-10-09 Thread markshannon
https://github.com/python/cpython/commit/6b533a659bc8df04daa194d827604dcae14d5801 commit: 6b533a659bc8df04daa194d827604dcae14d5801 branch: main author: Tomas R. committer: markshannon date: 2024-10-09T13:54:39+01:00 summary: gh-125039: Make `this_instr`/`prev_instr` const in cases generator (GH-

[Python-checkins] [3.13] Fix importlib.resources issue reference in 3.13 What's New (GH-125175) (#125184)

2024-10-09 Thread ncoghlan
https://github.com/python/cpython/commit/b6c17eb76f4e1b4e04341deb569c9d581f9a75e3 commit: b6c17eb76f4e1b4e04341deb569c9d581f9a75e3 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ncoghlan date: 2024-10-09T22:45:03+10:00 summary: [3.13] Fix i

[Python-checkins] gh-101100: Consolidate documentation on `ModuleType` attributes (#124709)

2024-10-09 Thread AlexWaygood
https://github.com/python/cpython/commit/3024b16d51bb7f74177c5a5038cc9a56fd2b26bd commit: 3024b16d51bb7f74177c5a5038cc9a56fd2b26bd branch: main author: Alex Waygood committer: AlexWaygood date: 2024-10-09T10:53:57Z summary: gh-101100: Consolidate documentation on `ModuleType` attributes (#124709

[Python-checkins] Fix importlib.resources issue reference in 3.13 What's New (#125175)

2024-10-09 Thread ncoghlan
https://github.com/python/cpython/commit/7a303fc78a6dbd1b4c01f8a2b14ddcae29f4271b commit: 7a303fc78a6dbd1b4c01f8a2b14ddcae29f4271b branch: main author: Alyssa Coghlan committer: ncoghlan date: 2024-10-09T20:40:50+10:00 summary: Fix importlib.resources issue reference in 3.13 What's New (#125175)

[Python-checkins] gh-107562: make_ssl_certs.py: produce test certificates that expire far in the future by default (GH-107594)

2024-10-09 Thread encukou
https://github.com/python/cpython/commit/53930cbe47529c4de9177538c98ffdb354b9854e commit: 53930cbe47529c4de9177538c98ffdb354b9854e branch: main author: Alexander Kanavin committer: encukou date: 2024-10-09T11:16:08+02:00 summary: gh-107562: make_ssl_certs.py: produce test certificates that expir

[Python-checkins] [3.13] gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (GH-125151) (#125173)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/dde8805d51f04af99810ccd0b32522a5bad02e1c commit: dde8805d51f04af99810ccd0b32522a5bad02e1c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-10-09T09:05:57Z summary: [3.13] gh-125150:

[Python-checkins] gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-124974)

2024-10-09 Thread serhiy-storchaka
https://github.com/python/cpython/commit/21c04e1a972bd1b6285e0ea41fa107d635bbe43a commit: 21c04e1a972bd1b6285e0ea41fa107d635bbe43a branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-10-09T11:42:08+03:00 summary: gh-124969: Fix locale.nl_langinfo(locale.ALT_DIGITS) (GH-1

[Python-checkins] gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 implementation issues (#125151)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/92760bd85b8f48b88df5b81100a757048979de83 commit: 92760bd85b8f48b88df5b81100a757048979de83 branch: main author: Furkan Onder committer: vstinner date: 2024-10-09T10:40:06+02:00 summary: gh-125150: Skip test_fma_zero_result on NetBSD due to IEE 754-2008 im

[Python-checkins] gh-124502: Remove _PyUnicode_EQ() function (#125114)

2024-10-09 Thread vstinner
https://github.com/python/cpython/commit/e0c87c64b1cb4112ed5cfc1ae84ff8e48b1c0340 commit: e0c87c64b1cb4112ed5cfc1ae84ff8e48b1c0340 branch: main author: Victor Stinner committer: vstinner date: 2024-10-09T10:15:17+02:00 summary: gh-124502: Remove _PyUnicode_EQ() function (#125114) * Replace unic

[Python-checkins] docs: in venv table use executable name (GH-124315)

2024-10-09 Thread vsajip
https://github.com/python/cpython/commit/7f93dbf6fec152888727a0f25a3aa030d1fe27ca commit: 7f93dbf6fec152888727a0f25a3aa030d1fe27ca branch: main author: musvaage <[email protected]> committer: vsajip date: 2024-10-09T09:04:35+01:00 summary: docs: in venv table use executa