[Python-checkins] Revert gh-127266: avoid data races when updating type slots (gh-131174) (gh-133129)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/eecafc33800c84ecb67f5d3ed819fbed057677ab commit: eecafc33800c84ecb67f5d3ed819fbed057677ab branch: main author: Neil Schemenauer committer: nascheme date: 2025-04-28T23:38:29-07:00 summary: Revert gh-127266: avoid data races when updating type slots (gh-13

[Python-checkins] [3.13] gh-132070: Use _PyObject_IsUniquelyReferenced in unicodeobject (gh-133039) (gh-133126)

2025-04-28 Thread corona10
https://github.com/python/cpython/commit/7ffef8d07bba6c1c8551cafc3f0cb58c9102f909 commit: 7ffef8d07bba6c1c8551cafc3f0cb58c9102f909 branch: 3.13 author: Donghee Na committer: corona10 date: 2025-04-29T14:26:44+09:00 summary: [3.13] gh-132070: Use _PyObject_IsUniquelyReferenced in unicodeobject (

[Python-checkins] gh-132893: Minor edits to the statistics module PR (gh-133106)

2025-04-28 Thread rhettinger
https://github.com/python/cpython/commit/219b1f9d1d97e271213fe324b94ed544e890630b commit: 219b1f9d1d97e271213fe324b94ed544e890630b branch: main author: Raymond Hettinger committer: rhettinger date: 2025-04-28T23:05:37-05:00 summary: gh-132893: Minor edits to the statistics module PR (gh-133106)

[Python-checkins] [3.13] gh-133122: Fix for test_type_lookup_mro_reference. (gh-133127)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/64dcbb0c31adb068570725003fd6d2ddd8ee1507 commit: 64dcbb0c31adb068570725003fd6d2ddd8ee1507 branch: 3.13 author: Neil Schemenauer committer: nascheme date: 2025-04-29T03:33:13Z summary: [3.13] gh-133122: Fix for test_type_lookup_mro_reference. (gh-133127)

[Python-checkins] gh-87859: Track Code Object Local Kinds For Arguments (gh-132980)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/219d8d24b5c06efe0f002de38b8a476f69da0813 commit: 219d8d24b5c06efe0f002de38b8a476f69da0813 branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-29T02:21:47Z summary: gh-87859: Track Code Object Local Kinds For Arguments (gh-132980) Do

[Python-checkins] gh-132775: Add _PyCode_ReturnsOnlyNone() (gh-132981)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/96a7fb93a8e31eae368b9efee945f6959355e8ba commit: 96a7fb93a8e31eae368b9efee945f6959355e8ba branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-28T20:12:52-06:00 summary: gh-132775: Add _PyCode_ReturnsOnlyNone() (gh-132981) The functi

[Python-checkins] gh-132070: Use _PyObject_IsUniquelyReferenced in unicodeobject (gh-133039)

2025-04-28 Thread corona10
https://github.com/python/cpython/commit/75cbb8d89e7e92ccaba5c615c72459f241dca8b1 commit: 75cbb8d89e7e92ccaba5c615c72459f241dca8b1 branch: main author: Donghee Na committer: corona10 date: 2025-04-29T09:48:53+09:00 summary: gh-132070: Use _PyObject_IsUniquelyReferenced in unicodeobject (gh-13303

[Python-checkins] gh-132775: Add _PyMarshal_GetXIData() (gh-133108)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/bdd23c0bb95faa37130fdf7af82f0fdddb41bae0 commit: bdd23c0bb95faa37130fdf7af82f0fdddb41bae0 branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-28T17:23:46-06:00 summary: gh-132775: Add _PyMarshal_GetXIData() (gh-133108) Note that the

[Python-checkins] [3.13] gh-132942: Fix races in type lookup cache (gh-133114)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/ca46ec85f8c3cc5a9ae098c5b8fce435ba13c30e commit: ca46ec85f8c3cc5a9ae098c5b8fce435ba13c30e branch: 3.13 author: Neil Schemenauer committer: nascheme date: 2025-04-28T22:08:09Z summary: [3.13] gh-132942: Fix races in type lookup cache (gh-133114) Two races

[Python-checkins] gh-125142: add REPL help text for keyboard shortcuts (gh-125143)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/68a737691b0fd591de00f4811bb23a5c280fe859 commit: 68a737691b0fd591de00f4811bb23a5c280fe859 branch: main author: Neil Schemenauer committer: nascheme date: 2025-04-28T14:17:34-07:00 summary: gh-125142: add REPL help text for keyboard shortcuts (gh-125143)

[Python-checkins] Add internal docs about the free-threaded GC. (gh-132562)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/31a500a92b1baf49a21d15b6b5fc0b6095f1e305 commit: 31a500a92b1baf49a21d15b6b5fc0b6095f1e305 branch: main author: Neil Schemenauer committer: nascheme date: 2025-04-28T13:32:39-07:00 summary: Add internal docs about the free-threaded GC. (gh-132562) files:

[Python-checkins] gh-127266: avoid data races when updating type slots (gh-131174)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/e414a2d81c3e15553516979e146d9f258fb47b2e commit: e414a2d81c3e15553516979e146d9f258fb47b2e branch: main author: Neil Schemenauer committer: nascheme date: 2025-04-28T20:28:44Z summary: gh-127266: avoid data races when updating type slots (gh-131174) In th

[Python-checkins] gh-122320: Limit dict key versions used by test_opcache. (gh-132961)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/22f0730d40c9534672f745f35cf876ad63d450bb commit: 22f0730d40c9534672f745f35cf876ad63d450bb branch: main author: Neil Schemenauer committer: nascheme date: 2025-04-28T12:54:55-07:00 summary: gh-122320: Limit dict key versions used by test_opcache. (gh-13296

[Python-checkins] GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)

2025-04-28 Thread barneygale
https://github.com/python/cpython/commit/336322b34137d90b0db19545c09a77f050ba8de0 commit: 336322b34137d90b0db19545c09a77f050ba8de0 branch: main author: Barney Gale committer: barneygale date: 2025-04-28T20:18:56+01:00 summary: GH-128520: pathlib ABCs tests: use explicit text encoding (#133105)

[Python-checkins] [3.13] gh-132742: Fix newly added tcflush() tests on Android (GH-133070) (GH-133104)

2025-04-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/b71442f44fe9ead71dab9a63f929388cec7e9d46 commit: b71442f44fe9ead71dab9a63f929388cec7e9d46 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2025-04-28T19:10:42Z summary: [3.13] gh

[Python-checkins] gh-132775: Add _PyBytes_GetXIData() (gh-133101)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/606003ffa9e400cc22cc3b11f31118e2e24f688e commit: 606003ffa9e400cc22cc3b11f31118e2e24f688e branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-28T12:52:36-06:00 summary: gh-132775: Add _PyBytes_GetXIData() (gh-133101) This is the bas

[Python-checkins] gh-132942: Fix races in type lookup cache (gh-133032)

2025-04-28 Thread nascheme
https://github.com/python/cpython/commit/31d1342de9489f95384dbc748130c2ae6f092e84 commit: 31d1342de9489f95384dbc748130c2ae6f092e84 branch: main author: Neil Schemenauer committer: nascheme date: 2025-04-28T11:52:08-07:00 summary: gh-132942: Fix races in type lookup cache (gh-133032) Two races r

[Python-checkins] gh-132775: Drop PyUnstable_InterpreterState_GetMainModule() (gh-132978)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/fe462f5a9122e1c2641b5369cbb88c4a5e822816 commit: fe462f5a9122e1c2641b5369cbb88c4a5e822816 branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-28T12:46:22-06:00 summary: gh-132775: Drop PyUnstable_InterpreterState_GetMainModule() (gh-

[Python-checkins] gh-132775: Add _PyModule_GetFilenameObject() and _PyModule_GetFilenameUTF8() (gh-132979)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/c17238251fdf72861dfadcd581c77332b639bcb0 commit: c17238251fdf72861dfadcd581c77332b639bcb0 branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-28T12:41:32-06:00 summary: gh-132775: Add _PyModule_GetFilenameObject() and _PyModule_GetFi

[Python-checkins] gh-132742: Fix newly added tcflush() tests on Android (GH-133070)

2025-04-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/25186c2472f6f2ceecb00fcecbce52b924510ed7 commit: 25186c2472f6f2ceecb00fcecbce52b924510ed7 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-04-28T21:41:09+03:00 summary: gh-132742: Fix newly added tcflush() tests on Android (GH-

[Python-checkins] gh-132930: Improve the names of IDLE and PyDoc shortcuts (GH-133091)

2025-04-28 Thread zooba
https://github.com/python/cpython/commit/3940e1f8735133057fcfbaf22e796995cba5394b commit: 3940e1f8735133057fcfbaf22e796995cba5394b branch: main author: Steve Dower committer: zooba date: 2025-04-28T19:09:20+01:00 summary: gh-132930: Improve the names of IDLE and PyDoc shortcuts (GH-133091) file

[Python-checkins] GH-128520: pathlib ABCs: raise text encoding warnings at correct stack level (#133051)

2025-04-28 Thread barneygale
https://github.com/python/cpython/commit/fbffd70328bb2a73d8154b4dd944e6d707fde9b3 commit: fbffd70328bb2a73d8154b4dd944e6d707fde9b3 branch: main author: Barney Gale committer: barneygale date: 2025-04-28T19:04:20+01:00 summary: GH-128520: pathlib ABCs: raise text encoding warnings at correct stac

[Python-checkins] [3.13] gh-133054: Skip `test_pyrepl` tests when `cannot use pyrepl` is reported (GH-133055) (#133095)

2025-04-28 Thread sobolevn
https://github.com/python/cpython/commit/ab89f6ec846506a2dc372431cdb5d1e6e71fa27c commit: ab89f6ec846506a2dc372431cdb5d1e6e71fa27c branch: 3.13 author: sobolevn committer: sobolevn date: 2025-04-28T18:00:42Z summary: [3.13] gh-133054: Skip `test_pyrepl` tests when `cannot use pyrepl` is reported

[Python-checkins] gh-132775: Cleanup Related to crossinterp.c Before Further Changes (gh-132974)

2025-04-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/6f0432599297635492597e3766259390e8331c62 commit: 6f0432599297635492597e3766259390e8331c62 branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-28T11:55:15-06:00 summary: gh-132775: Cleanup Related to crossinterp.c Before Further Chang

[Python-checkins] [3.13] gh-132026: Ensure _MIPS_SIM has defined _ABI identifiers for comparison (GH-133092)

2025-04-28 Thread zware
https://github.com/python/cpython/commit/507b4fa7a4d7c68ff514de4f30f6e49d7fc9cfc8 commit: 507b4fa7a4d7c68ff514de4f30f6e49d7fc9cfc8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: zware date: 2025-04-28T12:15:45-05:00 summary: [3.13] gh-13202

[Python-checkins] gh-133054: Skip `test_pyrepl` tests when `cannot use pyrepl` is reported (#133055)

2025-04-28 Thread sobolevn
https://github.com/python/cpython/commit/b739ec5ab78ed55367516de7a11e732cb3f1081d commit: b739ec5ab78ed55367516de7a11e732cb3f1081d branch: main author: sobolevn committer: sobolevn date: 2025-04-28T19:09:28+03:00 summary: gh-133054: Skip `test_pyrepl` tests when `cannot use pyrepl` is reported

[Python-checkins] gh-132952: Speed up startup by importing _io instead of io (#132957)

2025-04-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/58567cc18c5b048e08307b5ba18a9934a395ca42 commit: 58567cc18c5b048e08307b5ba18a9934a395ca42 branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2025-04-28T08:38:56-07:00 summary: gh-132952: Speed up startup by importing _io instead of io (#13

[Python-checkins] typing, annotationlib: clean tests (#133087)

2025-04-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/7f16f1bc114ea42ceb51ccb5008b74571a875f6b commit: 7f16f1bc114ea42ceb51ccb5008b74571a875f6b branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2025-04-28T08:38:11-07:00 summary: typing, annotationlib: clean tests (#133087) - Add @cpython_on

[Python-checkins] gh-129965: Add more missing MIME types (#132845)

2025-04-28 Thread hugovk
https://github.com/python/cpython/commit/4cec0b510bfb779bc683825aa03961642b1e1549 commit: 4cec0b510bfb779bc683825aa03961642b1e1549 branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-04-28T15:30:35Z

[Python-checkins] [3.13] gh-132726: Change the heading of `sysconfig` CLI section (GH-133035) (#133088)

2025-04-28 Thread hugovk
https://github.com/python/cpython/commit/85882ca0e71c7ba65f4b5b88307b196791328724 commit: 85882ca0e71c7ba65f4b5b88307b196791328724 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-04-2

[Python-checkins] gh-132915: Try to detect a buffer overflow in fcntl() and ioctl() (GH-132919)

2025-04-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/c2eaeee3dc3306ca486b0377b07b1a957584b691 commit: c2eaeee3dc3306ca486b0377b07b1a957584b691 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-04-28T17:56:10+03:00 summary: gh-132915: Try to detect a buffer overflow in fcntl() and

[Python-checkins] gh-132726: Change the heading of `sysconfig` CLI section (#133035)

2025-04-28 Thread hugovk
https://github.com/python/cpython/commit/0f84f6b334e4340798fb2ec4e1ca21ad838db339 commit: 0f84f6b334e4340798fb2ec4e1ca21ad838db339 branch: main author: Semyon Moroz committer: hugovk <[email protected]> date: 2025-04-28T17:44:49+03:00 summary: gh-132726: Change the heading o

[Python-checkins] gh-75223: Deprecate undotted extensions in `mimetypes.MimeTypes.add_type` (#128638)

2025-04-28 Thread hugovk
https://github.com/python/cpython/commit/ee9102a53565f694c37ca1bcc6bb1239db7207d9 commit: ee9102a53565f694c37ca1bcc6bb1239db7207d9 branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-04-28T14:23:57Z

[Python-checkins] gh-132983: Convert compression._common to a package (#133086)

2025-04-28 Thread vstinner
https://github.com/python/cpython/commit/fe8ad534432abd94648b392e30aea5df6dbf1606 commit: fe8ad534432abd94648b392e30aea5df6dbf1606 branch: main author: Victor Stinner committer: vstinner date: 2025-04-28T14:13:06Z summary: gh-132983: Convert compression._common to a package (#133086) Add an "__

[Python-checkins] gh-133073: avoid `NULL + 0` arithmetic in `list_extend_*` functions (#133074)

2025-04-28 Thread picnixz
https://github.com/python/cpython/commit/a99bfaa53cbbb2ebd35bd94237a11bfaefe32665 commit: a99bfaa53cbbb2ebd35bd94237a11bfaefe32665 branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-28T15:59:09+

[Python-checkins] gh-87135: Raise PythonFinalizationError when joining a blocked daemon thread (gh-130402)

2025-04-28 Thread encukou
https://github.com/python/cpython/commit/4ebbfcf30e0e2d87ff6036d4d1de0f6f0ef7c46a commit: 4ebbfcf30e0e2d87ff6036d4d1de0f6f0ef7c46a branch: main author: Petr Viktorin committer: encukou date: 2025-04-28T15:48:48+02:00 summary: gh-87135: Raise PythonFinalizationError when joining a blocked daemon

[Python-checkins] Fixed a typo in the `PCbuild/readme.txt` about PGO clang-cl (#133083)

2025-04-28 Thread mdboom
https://github.com/python/cpython/commit/995b1a72f20e4b0bc44b6471d40c2c368d74efb1 commit: 995b1a72f20e4b0bc44b6471d40c2c368d74efb1 branch: main author: Wulian233 <[email protected]> committer: mdboom date: 2025-04-28T13:39:16Z summary: Fixed a typo in the `PCbuild/readme.txt` about PGO clang-cl (

[Python-checkins] gh-130317: Fix PyFloat_Pack/Unpack[24] for NaN's with payload (#130452)

2025-04-28 Thread vstinner
https://github.com/python/cpython/commit/6157135a8d0bc2dbd5c24d1648d04a9c24a7d17e commit: 6157135a8d0bc2dbd5c24d1648d04a9c24a7d17e branch: main author: Sergey B Kirpichev committer: vstinner date: 2025-04-28T15:23:26+02:00 summary: gh-130317: Fix PyFloat_Pack/Unpack[24] for NaN's with payload (#

[Python-checkins] gh-130907: Treat all module-level annotations as conditional (#131550)

2025-04-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/922049b613d155ade4c4a8f83452767bea003a9f commit: 922049b613d155ade4c4a8f83452767bea003a9f branch: main author: Jelle Zijlstra committer: JelleZijlstra date: 2025-04-28T06:10:28-07:00 summary: gh-130907: Treat all module-level annotations as conditional (#

[Python-checkins] gh-53032: support IEEE 754 contexts in the decimal module (#122003)

2025-04-28 Thread vstinner
https://github.com/python/cpython/commit/5bf0f3666e272798789ff900b1071760c73b46fd commit: 5bf0f3666e272798789ff900b1071760c73b46fd branch: main author: Sergey B Kirpichev committer: vstinner date: 2025-04-28T15:05:56+02:00 summary: gh-53032: support IEEE 754 contexts in the decimal module (#1220

[Python-checkins] gh-132930: Implement PEP 773 (GH-132931)

2025-04-28 Thread zooba
https://github.com/python/cpython/commit/e20ca6d1b006674be23d16083f273e8a7b8f77b6 commit: e20ca6d1b006674be23d16083f273e8a7b8f77b6 branch: main author: Steve Dower committer: zooba date: 2025-04-28T13:57:47+01:00 summary: gh-132930: Implement PEP 773 (GH-132931) This change to the core CPython

[Python-checkins] GH-114911: use time.perf_counter in Stopwatch (GH-131469)

2025-04-28 Thread encukou
https://github.com/python/cpython/commit/11f457cf41beede182d7387080f35c73f8f4a46f commit: 11f457cf41beede182d7387080f35c73f8f4a46f branch: main author: Chris Eibl <[email protected]> committer: encukou date: 2025-04-28T13:55:08+02:00 summary: GH-114911: use time.perf_c

[Python-checkins] gh-131423: update note in `Tools/ssl/make_ssl_data.py` (#133077)

2025-04-28 Thread picnixz
https://github.com/python/cpython/commit/e577439803db15122af9b080103a5819cd38272f commit: e577439803db15122af9b080103a5819cd38272f branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-28T11:11:46Z

[Python-checkins] gh-111178: fix incorrect function signatures for Windows builds (#133072)

2025-04-28 Thread picnixz
https://github.com/python/cpython/commit/96bc1721d20ebaf110ae5cd6867fb222c53cb93e commit: 96bc1721d20ebaf110ae5cd6867fb222c53cb93e branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-28T13:05:39+

[Python-checkins] [3.13] gh-133033: Add docs for `TypeIgnore` (GH-133034) (#133078)

2025-04-28 Thread sobolevn
https://github.com/python/cpython/commit/6ade0c3b2b51b56e68777658d4373d9b80cbdd54 commit: 6ade0c3b2b51b56e68777658d4373d9b80cbdd54 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2025-04-28T10:55:19Z summary: [3.13] gh-133033:

[Python-checkins] gh-133033: Add docs for `TypeIgnore` (#133034)

2025-04-28 Thread sobolevn
https://github.com/python/cpython/commit/4e04511cb9c176c32d6f3694f426750d710121cd commit: 4e04511cb9c176c32d6f3694f426750d710121cd branch: main author: Yuki Kobayashi committer: sobolevn date: 2025-04-28T13:49:07+03:00 summary: gh-133033: Add docs for `TypeIgnore` (#133034) Co-authored-by: Stan

[Python-checkins] gh-127604: ensure `-ldl` is passed only once to the linker (#133071)

2025-04-28 Thread picnixz
https://github.com/python/cpython/commit/af3f6fcb7ecd3226b0067e0e1a9a6bfb0657a9ba commit: af3f6fcb7ecd3226b0067e0e1a9a6bfb0657a9ba branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-28T11:55:02+

[Python-checkins] [3.13] gh-132742: Improve tests for fcntl.ioctl() (GH-132791) (GH-133066)

2025-04-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/0d53872443c65c7807a3183044ea3102baf76ac9 commit: 0d53872443c65c7807a3183044ea3102baf76ac9 branch: 3.13 author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-04-28T08:23:43Z summary: [3.13] gh-132742: Improve tests for fcntl.ioctl() (GH-132791) (

[Python-checkins] gh-132987: Support __index__() for unsigned integers in Argument Clinic (GH-133011)

2025-04-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/6677c2c165c32765d3b61a496f806319ba31f768 commit: 6677c2c165c32765d3b61a496f806319ba31f768 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-04-28T11:02:18+03:00 summary: gh-132987: Support __index__() for unsigned integers in Ar

[Python-checkins] gh-132742: Improve tests for fcntl.ioctl() (GH-132791)

2025-04-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/ed8e886f4f59df4eceefeb7eef2e3d146967df34 commit: ed8e886f4f59df4eceefeb7eef2e3d146967df34 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2025-04-28T10:42:40+03:00 summary: gh-132742: Improve tests for fcntl.ioctl() (GH-132791) *