[Python-checkins] GH-116939: Rewrite binarysort() (#116940)

2024-03-21 Thread tim-one
https://github.com/python/cpython/commit/8383915031942f441f435a5ae800790116047b80 commit: 8383915031942f441f435a5ae800790116047b80 branch: main author: Tim Peters committer: tim-one date: 2024-03-21T22:27:25-05:00 summary: GH-116939: Rewrite binarysort() (#116940) Rewrote binarysort() for clari

[Python-checkins] gh-108716:: Remove _PyStaticCode_Init/Fini (#117141)

2024-03-21 Thread gvanrossum
https://github.com/python/cpython/commit/97ba910e47ad298114800587979ce7beb0a705a3 commit: 97ba910e47ad298114800587979ce7beb0a705a3 branch: main author: Guido van Rossum committer: gvanrossum date: 2024-03-22T01:27:48Z summary: gh-108716:: Remove _PyStaticCode_Init/Fini (#117141) More deepfreeze

[Python-checkins] gh-105716: Fix _PyInterpreterState_IsRunningMain() For Embedders (gh-117140)

2024-03-21 Thread ericsnowcurrently
https://github.com/python/cpython/commit/b3d25df8d38b79310587da54dbd88b06a16d4904 commit: b3d25df8d38b79310587da54dbd88b06a16d4904 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-03-21T18:20:20-06:00 summary: gh-105716: Fix _PyInterpreterState_IsRunningMain() For Embedders

[Python-checkins] gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746)

2024-03-21 Thread erlend-aasland
https://github.com/python/cpython/commit/c4bf58a14f162557038a1535ca22c52b49d81d7b commit: c4bf58a14f162557038a1535ca22c52b49d81d7b branch: main author: Thomas A Caswell committer: erlend-aasland date: 2024-03-22T00:54:50+01:00 summary: gh-116745: Remove all internal usage of @LIBPYTHON@ (#116746

[Python-checkins] gh-71052: Add Android build script and instructions (#116426)

2024-03-21 Thread erlend-aasland
https://github.com/python/cpython/commit/3ec57307e70ee6f42410e844d3399bbd598917ba commit: 3ec57307e70ee6f42410e844d3399bbd598917ba branch: main author: Malcolm Smith committer: erlend-aasland date: 2024-03-22T00:52:29+01:00 summary: gh-71052: Add Android build script and instructions (#116426)

[Python-checkins] [3.12] gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (GH-117126) (#117137)

2024-03-21 Thread vstinner
https://github.com/python/cpython/commit/d3de3a251efe213155b8996effe235408536d0e0 commit: d3de3a251efe213155b8996effe235408536d0e0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-03-21T22:37:06Z summary: [3.12] gh-117061:

[Python-checkins] [3.11] gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (GH-117126) (#117138)

2024-03-21 Thread vstinner
https://github.com/python/cpython/commit/0ec856157408c84f6a794b8fa0718d2c05b1fe08 commit: 0ec856157408c84f6a794b8fa0718d2c05b1fe08 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2024-03-21T22:37:16Z summary: [3.11] gh-117061:

[Python-checkins] gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (#117126)

2024-03-21 Thread vstinner
https://github.com/python/cpython/commit/50f9b0b1e0fb181875751cef951351ed007b6397 commit: 50f9b0b1e0fb181875751cef951351ed007b6397 branch: main author: Victor Stinner committer: vstinner date: 2024-03-21T22:17:09Z summary: gh-117061: Fix test_posix.test_sched_setaffinity() on RHEL9 (#117126) On

[Python-checkins] [3.12] gh-116333: Relax error string text expectations in SSL-related tests (GH-116334) (GH-117136)

2024-03-21 Thread gpshead
https://github.com/python/cpython/commit/05c5bece78391f0c17f82c435b157a8c2dc2396d commit: 05c5bece78391f0c17f82c435b157a8c2dc2396d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: gpshead date: 2024-03-21T20:46:20Z summary: [3.12] gh-116333:

[Python-checkins] docs: fix over-linking in dataclasses.rst (#117005)

2024-03-21 Thread willingc
https://github.com/python/cpython/commit/0907871d43bffb613cbd560224e1a9db13d06c06 commit: 0907871d43bffb613cbd560224e1a9db13d06c06 branch: main author: Ned Batchelder committer: willingc date: 2024-03-21T12:47:09-07:00 summary: docs: fix over-linking in dataclasses.rst (#117005) files: M Doc/li

[Python-checkins] gh-117045: Add code object to function version cache (#117028)

2024-03-21 Thread gvanrossum
https://github.com/python/cpython/commit/570a82d46abfebb9976961113fb0f8bb400ad182 commit: 570a82d46abfebb9976961113fb0f8bb400ad182 branch: main author: Guido van Rossum committer: gvanrossum date: 2024-03-21T12:37:41-07:00 summary: gh-117045: Add code object to function version cache (#117028)

[Python-checkins] gh-116333: Relax error string text expectations in SSL-related tests (GH-116334)

2024-03-21 Thread gpshead
https://github.com/python/cpython/commit/c85d84166a84a5cb2d724012726bad34229ad24e commit: c85d84166a84a5cb2d724012726bad34229ad24e branch: main author: Will Childs-Klein committer: gpshead date: 2024-03-21T19:16:36Z summary: gh-116333: Relax error string text expectations in SSL-related tests (G

[Python-checkins] gh-116522: Refactor `_PyThreadState_DeleteExcept` (#117131)

2024-03-21 Thread gpshead
https://github.com/python/cpython/commit/1f72fb5447ef3f8892b4a7a6213522579c618e8e commit: 1f72fb5447ef3f8892b4a7a6213522579c618e8e branch: main author: Sam Gross committer: gpshead date: 2024-03-21T11:21:02-07:00 summary: gh-116522: Refactor `_PyThreadState_DeleteExcept` (#117131) Split `_PyThr

[Python-checkins] gh-116996: Add pystats about _Py_uop_analyse_and_optimize (GH-116997)

2024-03-21 Thread Fidget-Spinner
https://github.com/python/cpython/commit/50369e6c34d05222e5a0ec9443a9f7b230e83112 commit: 50369e6c34d05222e5a0ec9443a9f7b230e83112 branch: main author: Michael Droettboom committer: Fidget-Spinner date: 2024-03-22T01:27:46+08:00 summary: gh-116996: Add pystats about _Py_uop_analyse_and_optimize

[Python-checkins] gh-76785: Drop PyInterpreterID_Type (gh-117101)

2024-03-21 Thread ericsnowcurrently
https://github.com/python/cpython/commit/617158e07811edfd6fd552a3d84b0beedd8f1d18 commit: 617158e07811edfd6fd552a3d84b0beedd8f1d18 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-03-21T17:15:02Z summary: gh-76785: Drop PyInterpreterID_Type (gh-117101) I added it quite a w

[Python-checkins] gh-85283: Build _testconsole extension with limited C API (#117125)

2024-03-21 Thread vstinner
https://github.com/python/cpython/commit/abdd1f938f08e536864532b2071f144515ecc88b commit: abdd1f938f08e536864532b2071f144515ecc88b branch: main author: Victor Stinner committer: vstinner date: 2024-03-21T17:45:43+01:00 summary: gh-85283: Build _testconsole extension with limited C API (#117125)

[Python-checkins] gh-115754: Add Py_GetConstant() function (#116883)

2024-03-21 Thread vstinner
https://github.com/python/cpython/commit/8bea6c411d65cd987616b4ecdb86373e4f21f1c6 commit: 8bea6c411d65cd987616b4ecdb86373e4f21f1c6 branch: main author: Victor Stinner committer: vstinner date: 2024-03-21T16:07:00Z summary: gh-115754: Add Py_GetConstant() function (#116883) Add Py_GetConstant()

[Python-checkins] gh-105716: Update interp->threads.main After Fork (gh-117049)

2024-03-21 Thread ericsnowcurrently
https://github.com/python/cpython/commit/5a76d1be8ef371b75ca65166726923c249b5f615 commit: 5a76d1be8ef371b75ca65166726923c249b5f615 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-03-21T10:06:35-06:00 summary: gh-105716: Update interp->threads.main After Fork (gh-117049) I

[Python-checkins] gh-76785: Clean Up Interpreter ID Conversions (gh-117048)

2024-03-21 Thread ericsnowcurrently
https://github.com/python/cpython/commit/bbee57fa8c318cb26d6c8651254927a1972c9738 commit: bbee57fa8c318cb26d6c8651254927a1972c9738 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-03-21T09:56:12-06:00 summary: gh-76785: Clean Up Interpreter ID Conversions (gh-117048) Mostl

[Python-checkins] gh-116522: Stop the world before fork() and during shutdown (#116607)

2024-03-21 Thread colesbury
https://github.com/python/cpython/commit/e728303532168efab7694c55c82ea19b18bf8385 commit: e728303532168efab7694c55c82ea19b18bf8385 branch: main author: Sam Gross committer: colesbury date: 2024-03-21T10:01:16-04:00 summary: gh-116522: Stop the world before fork() and during shutdown (#116607) T

[Python-checkins] gh-71052: Implement `ctypes.util.find_library` on Android (GH-116379)

2024-03-21 Thread encukou
https://github.com/python/cpython/commit/1f8b24ef69896680d6ba6005e75e1cc79a744f9e commit: 1f8b24ef69896680d6ba6005e75e1cc79a744f9e branch: main author: Malcolm Smith committer: encukou date: 2024-03-21T14:20:57+01:00 summary: gh-71052: Implement `ctypes.util.find_library` on Android (GH-116379)

[Python-checkins] [3.12] Remove more stray backticks from NEWS files (GH-115374) (#117118)

2024-03-21 Thread hugovk
https://github.com/python/cpython/commit/ea290f8f19db151456f9d52c4c77dd1c30299945 commit: ea290f8f19db151456f9d52c4c77dd1c30299945 branch: 3.12 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2024-03-21T11:57:40Z

[Python-checkins] gh-116987: Support class code objects in inspect.findsource() (GH-117025)

2024-03-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/d16c9d1278164f04778861814ebc87ed087511fc commit: d16c9d1278164f04778861814ebc87ed087511fc branch: main author: Tian Gao committer: serhiy-storchaka date: 2024-03-21T10:30:10Z summary: gh-116987: Support class code objects in inspect.findsource() (GH-11702

[Python-checkins] [3.11] gh-117021: Fix integer overflow in PyLong_AsPid() on non-Windows 64-bit platforms (GH-117064) (GH-117070) (GH-117075)

2024-03-21 Thread serhiy-storchaka
https://github.com/python/cpython/commit/7323c4dd075c64ba54e417853f08cec42bc43e59 commit: 7323c4dd075c64ba54e417853f08cec42bc43e59 branch: 3.11 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-03-21T09:43:42Z summary: [3.11] gh-117021: Fix integer overflow in PyLong_AsPid() on non