[Python-checkins] gh-132781: Make NotShareableError a TypeError Subclass (gh-132973)

2025-04-25 Thread ericsnowcurrently
https://github.com/python/cpython/commit/8a4d4f37abb9fa639fdc5d7003c4067904cdcc6b commit: 8a4d4f37abb9fa639fdc5d7003c4067904cdcc6b branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-25T21:10:43Z summary: gh-132781: Make NotShareableError a TypeError Subclass (gh-132973) I

[Python-checkins] gh-132781: Cleanup Code Related to NotShareableError (gh-132782)

2025-04-25 Thread ericsnowcurrently
https://github.com/python/cpython/commit/cd9536a0872046cc7c151b61b457975e7718274a commit: cd9536a0872046cc7c151b61b457975e7718274a branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-25T14:43:38-06:00 summary: gh-132781: Cleanup Code Related to NotShareableError (gh-132782)

[Python-checkins] [3.13] gh-132684: [Enum] only call _missing_ in __contains__ for Flags (GH-132790) (GH-132896)

2025-04-25 Thread ethanfurman
https://github.com/python/cpython/commit/08772229c77b1492efc59abde954191744147f9d commit: 08772229c77b1492efc59abde954191744147f9d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: ethanfurman date: 2025-04-25T13:30:33-07:00 summary: [3.13] gh

[Python-checkins] gh-131798: JIT: Narrow the return type of _CALL_LEN to int (#132940)

2025-04-25 Thread Fidget-Spinner
https://github.com/python/cpython/commit/4c20f46fa011df57190cc19b21bafde1f65e73a7 commit: 4c20f46fa011df57190cc19b21bafde1f65e73a7 branch: main author: Diego Russo committer: Fidget-Spinner date: 2025-04-26T02:57:42+08:00 summary: gh-131798: JIT: Narrow the return type of _CALL_LEN to int (#1329

[Python-checkins] gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/f0485de43ad7403bb74824f445d2cf1f3d192904 commit: f0485de43ad7403bb74824f445d2cf1f3d192904 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T18:13:47Z summary: gh-132950: Log is_remote_debug_enabled() in pythoninfo (#132965) Log al

[Python-checkins] gh-91048: Prevent optimizing away the asyncio debug offsets structure on Windows (#132963)

2025-04-25 Thread pablogsal
https://github.com/python/cpython/commit/a5e628beb8592d938209a09e84d072bb5f57d042 commit: a5e628beb8592d938209a09e84d072bb5f57d042 branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-04-25T17:43:32Z summary: gh-91048: Prevent optimizing away the asyncio debug offsets struc

[Python-checkins] gh-132912: Use readline to synchronize between procs in remote pdb test (#132949)

2025-04-25 Thread pablogsal
https://github.com/python/cpython/commit/a1f4a6b246ada368cb77c7245dfd7f5ccb6f7d87 commit: a1f4a6b246ada368cb77c7245dfd7f5ccb6f7d87 branch: main author: Tian Gao committer: pablogsal date: 2025-04-25T18:40:18+01:00 summary: gh-132912: Use readline to synchronize between procs in remote pdb test

[Python-checkins] gh-132950: Skip test_remote_pdb if remote exec is disabled (#132951)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/947c4f19d969578242ccc454ecc4b04c51408b03 commit: 947c4f19d969578242ccc454ecc4b04c51408b03 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T17:28:25Z summary: gh-132950: Skip test_remote_pdb if remote exec is disabled (#132951) fil

[Python-checkins] gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_debug_enabled (#132959)

2025-04-25 Thread pablogsal
https://github.com/python/cpython/commit/622176513ef7dc41faaa8403b09b799bc5785aee commit: 622176513ef7dc41faaa8403b09b799bc5785aee branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-04-25T16:38:48Z summary: gh-132950: Check for Py_SUPPORTS_REMOTE_DEBUG in sys.is_remote_de

[Python-checkins] gh-132776: Revert Moving memoryview XIData Code to memoryobject.c (gh-132960)

2025-04-25 Thread ericsnowcurrently
https://github.com/python/cpython/commit/2a28b21a517775120a7a720adc29cf85111e8bf4 commit: 2a28b21a517775120a7a720adc29cf85111e8bf4 branch: main author: Eric Snow committer: ericsnowcurrently date: 2025-04-25T16:43:50Z summary: gh-132776: Revert Moving memoryview XIData Code to memoryobject.c (gh

[Python-checkins] gh-107954: Allow setting cpu_count in PyConfig_Set() (#132954)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/070d8665670e929ddf26a217d2c1a4116f82d30e commit: 070d8665670e929ddf26a217d2c1a4116f82d30e branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T18:29:55+02:00 summary: gh-107954: Allow setting cpu_count in PyConfig_Set() (#132954) * gh

[Python-checkins] gh-107954: Add audit event to PyConfig_Set() (#132958)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/ac5424d6a9f5aa37432cbbf366745f708f44a8ec commit: ac5424d6a9f5aa37432cbbf366745f708f44a8ec branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T18:30:39+02:00 summary: gh-107954: Add audit event to PyConfig_Set() (#132958) files: M Doc

[Python-checkins] gh-91048: Fix _testexternalinspection.c on FreeBSD (#132945)

2025-04-25 Thread pablogsal
https://github.com/python/cpython/commit/17718b0503e5d1c987253641893cab98e01f4535 commit: 17718b0503e5d1c987253641893cab98e01f4535 branch: main author: Victor Stinner committer: pablogsal date: 2025-04-25T14:57:01Z summary: gh-91048: Fix _testexternalinspection.c on FreeBSD (#132945) files: M M

[Python-checkins] [3.13] gh-132527: Added missing `w` typecode to array() error message (GH-132529) (#132938)

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

[Python-checkins] [3.13] gh-132912: Set 15 min timeout on GHA Hypothesis CI (GH-132914) (#132937)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/76840557bc33c76f1cf2bf9daed8ea5dcaf55b2c commit: 76840557bc33c76f1cf2bf9daed8ea5dcaf55b2c branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-04-25T13:54:36Z summary: [3.13] gh-132912:

[Python-checkins] gh-132912: Use SHORT_TIMEOUT in test_remote_pdb (#132939)

2025-04-25 Thread pablogsal
https://github.com/python/cpython/commit/670b6cc096886a9154604456417a7fd306675bd0 commit: 670b6cc096886a9154604456417a7fd306675bd0 branch: main author: Victor Stinner committer: pablogsal date: 2025-04-25T14:00:26Z summary: gh-132912: Use SHORT_TIMEOUT in test_remote_pdb (#132939) Replace hardc

[Python-checkins] gh-132912: Account for race in test_keyboard_interrupt in test_remote_pdb (#132929)

2025-04-25 Thread pablogsal
https://github.com/python/cpython/commit/6cbeb6ab916899c0740104483144e597363fe27a commit: 6cbeb6ab916899c0740104483144e597363fe27a branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-04-25T14:46:44+01:00 summary: gh-132912: Account for race in test_keyboard_interrupt in te

[Python-checkins] gh-132912: Set 15 min timeout on GHA Hypothesis CI (#132914)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/eb2e430b88afa93e7bfc05f4346e8336c2c31b48 commit: eb2e430b88afa93e7bfc05f4346e8336c2c31b48 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T13:29:16Z summary: gh-132912: Set 15 min timeout on GHA Hypothesis CI (#132914) files: M .g

[Python-checkins] gh-132527: Added missing `w` typecode to array() error message (#132529)

2025-04-25 Thread hugovk
https://github.com/python/cpython/commit/52454c5d59c50147233f4229497a655e6e8c8408 commit: 52454c5d59c50147233f4229497a655e6e8c8408 branch: main author: Christian Veenhuis <[email protected]> committer: hugovk <[email protected]> date: 2025-04-25T16:31:0

[Python-checkins] gh-132798: Schedule removal of `PyUnicode_AsDecoded/Encoded` functions for 3.15 (#132799)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/f6fb498c9759bc4ab615761639c5147d2d870c56 commit: f6fb498c9759bc4ab615761639c5147d2d870c56 branch: main author: Stan Ulbrych <[email protected]> committer: vstinner date: 2025-04-25T15:07:41+02:00 summary: gh-132798: Schedule

[Python-checkins] [3.13] gh-132909: handle overflow for `'K'` format in `do_mkvalue` (GH-132911) (#132932)

2025-04-25 Thread picnixz
https://github.com/python/cpython/commit/7ebfc6ec5e83364f9c219821a308db6aad5ad438 commit: 7ebfc6ec5e83364f9c219821a308db6aad5ad438 branch: 3.13 author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-25T12:44:53Z

[Python-checkins] gh-129027: Raise DeprecationWarning for sys._clear_type_cache (#129043)

2025-04-25 Thread hugovk
https://github.com/python/cpython/commit/8783cec9b67b3860bda9496611044b6f310c6761 commit: 8783cec9b67b3860bda9496611044b6f310c6761 branch: main author: Srinivas Reddy Thatiparthy (తాటిపర్తి శ్రీనివాస్ రెడ్డి) committer: hugovk <[email protected]> date: 2025-04-25T15:01:48+0

[Python-checkins] [3.13] gh-132921: Fix setuptools._distutils.dep_util deprecation (GH-132923) (#132926)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/3776ade2e86010d638c538c5d3f225887d714478 commit: 3776ade2e86010d638c538c5d3f225887d714478 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-04-25T11:55:22Z summary: [3.13] gh-132921:

[Python-checkins] gh-132912: Skip flaky test in test_remote_pdb (#132924)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/b402a4889b690876c488a1d1ccc6d33add3f69c6 commit: b402a4889b690876c488a1d1ccc6d33add3f69c6 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T11:46:43Z summary: gh-132912: Skip flaky test in test_remote_pdb (#132924) files: M Lib/tes

[Python-checkins] gh-113539: Enable using ``$BROWSER`` to reorder default seach order in webbrowser.py (#113561)

2025-04-25 Thread hugovk
https://github.com/python/cpython/commit/25e49841e3c943d5746f2eb57375a7460651d088 commit: 25e49841e3c943d5746f2eb57375a7460651d088 branch: main author: Ronald Oussoren committer: hugovk <[email protected]> date: 2025-04-25T14:36:18+03:00 summary: gh-113539: Enable using ``$B

[Python-checkins] gh-132921: Fix setuptools._distutils.dep_util deprecation (#132923)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18 commit: 1a70f66ea856de1b1b0ca47baf9ee8ba6799ae18 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T11:31:19Z summary: gh-132921: Fix setuptools._distutils.dep_util deprecation (#132923) Repl

[Python-checkins] gh-132912: Kill the process on error in test_remote_pdb (#132920)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/79ba56433e5ced7740866d1112b0cead86f627f6 commit: 79ba56433e5ced7740866d1112b0cead86f627f6 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T13:14:59+02:00 summary: gh-132912: Kill the process on error in test_remote_pdb (#132920) I

[Python-checkins] gh-132909: handle overflow for `'K'` format in `do_mkvalue` (#132911)

2025-04-25 Thread picnixz
https://github.com/python/cpython/commit/3fa024dec32e2ff86baf3dd7e14a0b314855327c commit: 3fa024dec32e2ff86baf3dd7e14a0b314855327c branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-25T11:02:57Z

[Python-checkins] [3.13] gh-132415: Use shutil.which() in missing_compiler_executable() (GH-132906) (#132916)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/b4a160ac594f4176456df2d929c41ef97aaf1930 commit: b4a160ac594f4176456df2d929c41ef97aaf1930 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-04-25T10:41:40Z summary: [3.13] gh-132415:

[Python-checkins] gh-132415: Use shutil.which() in missing_compiler_executable() (#132906)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/de6482eda3a46cc9c9a03fb9ba57295ab99b4722 commit: de6482eda3a46cc9c9a03fb9ba57295ab99b4722 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T11:50:55+02:00 summary: gh-132415: Use shutil.which() in missing_compiler_executable() (#132

[Python-checkins] [3.13] gh-127906: Add missing sys import to test_cppext (GH-132902) (#132904)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/8a759c235c70a9c9408cae412cd5ef87126de384 commit: 8a759c235c70a9c9408cae412cd5ef87126de384 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-04-25T08:42:57Z summary: [3.13] gh-127906:

[Python-checkins] gh-127906: Add missing sys import to test_cppext (#132902)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/9cba14881b371b1e95d57877896169c4605f9b75 commit: 9cba14881b371b1e95d57877896169c4605f9b75 branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T10:19:26+02:00 summary: gh-127906: Add missing sys import to test_cppext (#132902) files: M

[Python-checkins] gh-131652: remove duplicated bits in `Lib/test/clinic.test.c` (#131653)

2025-04-25 Thread picnixz
https://github.com/python/cpython/commit/9888f175de5a942c76aec7fb11fae7ede367997b commit: 9888f175de5a942c76aec7fb11fae7ede367997b branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-04-25T10:19:12+

[Python-checkins] gh-132868: use `_Alignof()` C11 operator in the `struct` module (#132872)

2025-04-25 Thread picnixz
https://github.com/python/cpython/commit/ecd03739f87889bb2f173e0a476d26b468c776c9 commit: ecd03739f87889bb2f173e0a476d26b468c776c9 branch: main author: Sergey B Kirpichev committer: picnixz <[email protected]> date: 2025-04-25T09:57:22+02:00 summary: gh-132868: use `_Align

[Python-checkins] gh-127604: Only define dump_pointer() if CAN_C_BACKTRACE (#132897)

2025-04-25 Thread vstinner
https://github.com/python/cpython/commit/c292f7f56311b305c673415651c919a7633d36cc commit: c292f7f56311b305c673415651c919a7633d36cc branch: main author: Victor Stinner committer: vstinner date: 2025-04-25T09:28:34+02:00 summary: gh-127604: Only define dump_pointer() if CAN_C_BACKTRACE (#132897)