[Python-checkins] [3.12] gh-115961: Improve tests for compressed file-like objects (GH-115963) (GH-116032)

2024-02-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/e5e98626a15dd62eccbb6a281ae0263f005f4942 commit: e5e98626a15dd62eccbb6a281ae0263f005f4942 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-02-28T11:00:50+02:00 summary: [3.1

[Python-checkins] [3.11] gh-115961: Improve tests for compressed file-like objects (GH-115963) (GH-116039)

2024-02-28 Thread serhiy-storchaka
https://github.com/python/cpython/commit/becc61596f79a3bb2bfeb7134581ae46638d34dc commit: becc61596f79a3bb2bfeb7134581ae46638d34dc branch: 3.11 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-02-28T09:38:39Z summary: [3.11] gh-115961: Improve tests for compressed file-like object

[Python-checkins] gh-105858: Expose some union-related objects as internal APIs (GH-116025)

2024-02-28 Thread encukou
https://github.com/python/cpython/commit/d53560deb2c9ae12147201003fe63b266654ee21 commit: d53560deb2c9ae12147201003fe63b266654ee21 branch: main author: Jelle Zijlstra committer: encukou date: 2024-02-28T09:56:40Z summary: gh-105858: Expose some union-related objects as internal APIs (GH-116025)

[Python-checkins] gh-115773: Add tests to exercise the _Py_DebugOffsets structure (#115774)

2024-02-28 Thread pablogsal
https://github.com/python/cpython/commit/1752b51012269eaa35f7a28f162d18479a4f72aa commit: 1752b51012269eaa35f7a28f162d18479a4f72aa branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2024-02-28T10:17:34Z summary: gh-115773: Add tests to exercise the _Py_DebugOffsets structure (

[Python-checkins] gh-116030: test_unparse: Add ``ctx`` argument to ``ast.Name`` calls (#116031)

2024-02-28 Thread JelleZijlstra
https://github.com/python/cpython/commit/3b63d0769f49171f53e9cecc686fa01a383bd4b1 commit: 3b63d0769f49171f53e9cecc686fa01a383bd4b1 branch: main author: Kirill Podoprigora committer: JelleZijlstra date: 2024-02-28T03:04:23-08:00 summary: gh-116030: test_unparse: Add ``ctx`` argument to ``ast.Name

[Python-checkins] gh-114911: Add CPUStopwatch test helper (GH-114912)

2024-02-28 Thread encukou
https://github.com/python/cpython/commit/7acf1fb5a70776429bd99e741d69471eb2d1c1bb commit: 7acf1fb5a70776429bd99e741d69471eb2d1c1bb branch: main author: Petr Viktorin committer: encukou date: 2024-02-28T12:53:48+01:00 summary: gh-114911: Add CPUStopwatch test helper (GH-114912) A few of our test

[Python-checkins] gh-78612: Mark up eval() using param list (#115212)

2024-02-28 Thread erlend-aasland
https://github.com/python/cpython/commit/a71e32ce8e183023fc1ee401c22ebe35e4832f09 commit: a71e32ce8e183023fc1ee401c22ebe35e4832f09 branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2024-02-28T14:03:50+01:00 summary: gh-78612: Mark up eval() using param list (#115212) Also m

[Python-checkins] gh-115765: Don't use deprecated AC_EGREP_* macros in configure.ac (#116016)

2024-02-28 Thread erlend-aasland
https://github.com/python/cpython/commit/449c6da2bdc5c6aa5e096aa550a4ba377b85db46 commit: 449c6da2bdc5c6aa5e096aa550a4ba377b85db46 branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2024-02-28T14:35:41+01:00 summary: gh-115765: Don't use deprecated AC_EGREP_* macros in config

[Python-checkins] doc: Use super() in subclassed JSONEncoder examples (GH-115565)

2024-02-28 Thread encukou
https://github.com/python/cpython/commit/647053fed182066d3b8c934fb0bf52ee48ff3911 commit: 647053fed182066d3b8c934fb0bf52ee48ff3911 branch: main author: Jan Max Meyer committer: encukou date: 2024-02-28T14:54:12+01:00 summary: doc: Use super() in subclassed JSONEncoder examples (GH-115565) Repla

[Python-checkins] gh-116012: Preserve GetLastError() across calls to TlsGetValue on Windows (GH-116014)

2024-02-28 Thread zooba
https://github.com/python/cpython/commit/9578288a3e5a7f42d1f3bec139c0c85b87775c90 commit: 9578288a3e5a7f42d1f3bec139c0c85b87775c90 branch: main author: Steve Dower committer: zooba date: 2024-02-28T13:58:25Z summary: gh-116012: Preserve GetLastError() across calls to TlsGetValue on Windows (GH-

[Python-checkins] [3.11] doc: Use super() in subclassed JSONEncoder examples (GH-115565) (GH-116046)

2024-02-28 Thread encukou
https://github.com/python/cpython/commit/f2257402113b63c7d22af929d68918cae249402b commit: f2257402113b63c7d22af929d68918cae249402b branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: encukou date: 2024-02-28T14:08:40Z summary: [3.11] doc: Use su

[Python-checkins] [3.12] doc: Use super() in subclassed JSONEncoder examples (GH-115565) (GH-116047)

2024-02-28 Thread encukou
https://github.com/python/cpython/commit/9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706 commit: 9df6d1e03338d1d7bc12e0c5e9e2559e2a3ab706 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: encukou date: 2024-02-28T14:13:08Z summary: [3.12] doc: Use su

[Python-checkins] gh-107674: Improve performance of `sys.settrace` (GH-114986)

2024-02-28 Thread markshannon
https://github.com/python/cpython/commit/0a61e237009bf6b833e13ac635299ee063377699 commit: 0a61e237009bf6b833e13ac635299ee063377699 branch: main author: Tian Gao committer: markshannon date: 2024-02-28T15:21:42Z summary: gh-107674: Improve performance of `sys.settrace` (GH-114986) files: A Misc/

[Python-checkins] gh-112075: Remove compiler warning from apple clang (gh-115855)

2024-02-28 Thread corona10
https://github.com/python/cpython/commit/f58f8cef7445ea04a69ba3e2848fffdb6b72df91 commit: f58f8cef7445ea04a69ba3e2848fffdb6b72df91 branch: main author: Donghee Na committer: corona10 date: 2024-02-29T02:51:59+09:00 summary: gh-112075: Remove compiler warning from apple clang (gh-115855) files:

[Python-checkins] gh-115816: Improve internal symbols API in optimizer (#116028)

2024-02-28 Thread gvanrossum
https://github.com/python/cpython/commit/e2a3e4b7488aff6fdc704a0f258bc315e96c1d6e commit: e2a3e4b7488aff6fdc704a0f258bc315e96c1d6e branch: main author: Guido van Rossum committer: gvanrossum date: 2024-02-28T17:55:56Z summary: gh-115816: Improve internal symbols API in optimizer (#116028) - Any

[Python-checkins] [3.11] gh-116034: fix location info on the error of a failed assertion (#116052)

2024-02-28 Thread iritkatriel
https://github.com/python/cpython/commit/99ab0d49e205cc3977205cc3b98d0b0224c1e642 commit: 99ab0d49e205cc3977205cc3b98d0b0224c1e642 branch: 3.11 author: Irit Katriel <1055913+iritkatr...@users.noreply.github.com> committer: iritkatriel <1055913+iritkatr...@users.noreply.github.com> date: 2024-02-28T

[Python-checkins] GH-115986 Reorder pprint docs and amend some references (#116019)

2024-02-28 Thread erlend-aasland
https://github.com/python/cpython/commit/6c1c94dc517b77afcebb25436a4b7b0d13b6eb4d commit: 6c1c94dc517b77afcebb25436a4b7b0d13b6eb4d branch: main author: Kerim Kabirov <39376984+privat33r-...@users.noreply.github.com> committer: erlend-aasland date: 2024-02-28T20:43:05+01:00 summary: GH-115986 Reor

[Python-checkins] [3.12] GH-115986 Reorder pprint docs and amend some references (GH-116019) (#116061)

2024-02-28 Thread erlend-aasland
https://github.com/python/cpython/commit/91e680b85cb3640660db3eccdd8d6f34dad2cfdc commit: 91e680b85cb3640660db3eccdd8d6f34dad2cfdc branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: erlend-aasland date: 2024-02-28T21:06:08+01:00 summary: [3.12]

[Python-checkins] [3.11] GH-115986 Reorder pprint docs and amend some references (#116019) (#116064)

2024-02-28 Thread erlend-aasland
https://github.com/python/cpython/commit/02bb367748121b4c271ac07392820b5136db3571 commit: 02bb367748121b4c271ac07392820b5136db3571 branch: 3.11 author: Erlend E. Aasland committer: erlend-aasland date: 2024-02-28T20:11:12Z summary: [3.11] GH-115986 Reorder pprint docs and amend some references (

[Python-checkins] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210)

2024-02-28 Thread gpshead
https://github.com/python/cpython/commit/c43b26d02eaa103756c250e8d36829d388c5f3be commit: c43b26d02eaa103756c250e8d36829d388c5f3be branch: main author: Weii Wang committer: gpshead date: 2024-02-28T12:15:52-08:00 summary: gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210)

[Python-checkins] gh-112529: Simplify PyObject_GC_IsTracked and PyObject_GC_IsFinalized (#114732)

2024-02-28 Thread colesbury
https://github.com/python/cpython/commit/df5212df6c6f08308c68de4b3ed8a1b51ac6334b commit: df5212df6c6f08308c68de4b3ed8a1b51ac6334b branch: main author: Sam Gross committer: colesbury date: 2024-02-28T15:37:59-05:00 summary: gh-112529: Simplify PyObject_GC_IsTracked and PyObject_GC_IsFinalized (#

[Python-checkins] [3.12] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210)

2024-02-28 Thread gpshead
https://github.com/python/cpython/commit/dec637a95367084d5cd298c1458447cad77546be commit: dec637a95367084d5cd298c1458447cad77546be branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: gpshead date: 2024-02-28T20:47:25Z summary: [3.12] gh-115197:

[Python-checkins] gh-115891: Fix debug byte filling in free-threaded build (#116018)

2024-02-28 Thread DinoV
https://github.com/python/cpython/commit/75c6c05fea212330f4b0259602ffae1b2cb91be3 commit: 75c6c05fea212330f4b0259602ffae1b2cb91be3 branch: main author: Sam Gross committer: DinoV date: 2024-02-28T12:50:09-08:00 summary: gh-115891: Fix debug byte filling in free-threaded build (#116018) The prev

[Python-checkins] [3.11] gh-115197: Stop resolving host in urllib.request proxy bypass (GH-115210)

2024-02-28 Thread gpshead
https://github.com/python/cpython/commit/e7dc85308f810bf3bc1d131878a8b65386da4a55 commit: e7dc85308f810bf3bc1d131878a8b65386da4a55 branch: 3.11 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: gpshead date: 2024-02-28T20:53:00Z summary: [3.11] gh-115197:

[Python-checkins] gh-115859: Re-enable T2 optimizer pass by default (#116062)

2024-02-28 Thread gvanrossum
https://github.com/python/cpython/commit/3409bc29c9f06051c28ae0791155e3aebd76ff2d commit: 3409bc29c9f06051c28ae0791155e3aebd76ff2d branch: main author: Guido van Rossum committer: gvanrossum date: 2024-02-28T22:38:01Z summary: gh-115859: Re-enable T2 optimizer pass by default (#116062) This und

[Python-checkins] gh-112075: Use relaxed stores for places where we may race with when reading lock-free (#115786)

2024-02-28 Thread DinoV
https://github.com/python/cpython/commit/81c79961d2ee27dec90dbc0b72dfca7a5b27de7a commit: 81c79961d2ee27dec90dbc0b72dfca7a5b27de7a branch: main author: Dino Viehland committer: DinoV date: 2024-02-28T14:53:19-08:00 summary: gh-112075: Use relaxed stores for places where we may race with when rea

[Python-checkins] Improve all_equal() recipe (gh-116081)

2024-02-28 Thread rhettinger
https://github.com/python/cpython/commit/67c19e57b5c928278ebd191a545979ce786f06b3 commit: 67c19e57b5c928278ebd191a545979ce786f06b3 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-02-28T17:04:56-06:00 summary: Improve all_equal() recipe (gh-116081) Replace conjuction of n

[Python-checkins] gh-76785: Update test.support.interpreters to Align With PEP 734 (gh-115566)

2024-02-28 Thread ericsnowcurrently
https://github.com/python/cpython/commit/e80abd57a82ea1beae0a82423d45c6eb8c5c5c74 commit: e80abd57a82ea1beae0a82423d45c6eb8c5c5c74 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-02-28T16:08:08-07:00 summary: gh-76785: Update test.support.interpreters to Align With PEP 734

[Python-checkins] Update an out-of-date example in the itertools recipe intro (gh-116082)

2024-02-28 Thread rhettinger
https://github.com/python/cpython/commit/f484a2a7486d0b4c7c11901f6c668eb23b74e81f commit: f484a2a7486d0b4c7c11901f6c668eb23b74e81f branch: main author: Raymond Hettinger committer: rhettinger date: 2024-02-28T17:11:05-06:00 summary: Update an out-of-date example in the itertools recipe intro (gh

[Python-checkins] [3.12] Improve all_equal() recipe (gh-116081) (gh-116083)

2024-02-28 Thread rhettinger
https://github.com/python/cpython/commit/a85e512699512893f34329b9ddab5ec5ad8a19bb commit: a85e512699512893f34329b9ddab5ec5ad8a19bb branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: rhettinger date: 2024-02-28T17:11:46-06:00 summary: [3.12] Imp

[Python-checkins] gh-116075: Skip test_external_inspection on qemu in JIT CI (#116076)

2024-02-28 Thread erlend-aasland
https://github.com/python/cpython/commit/4d1d35b906010c6db15f54443a9701c20af1db2d commit: 4d1d35b906010c6db15f54443a9701c20af1db2d branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2024-02-28T23:16:01Z summary: gh-116075: Skip test_external_inspection on qemu in JIT CI (#116

[Python-checkins] [3.12] gh-115821: [Enum] better error message for calling super().__new__() (GH-116065)

2024-02-28 Thread ethanfurman
https://github.com/python/cpython/commit/83ff92d225816bc23073e9d5a57cc117a4f25714 commit: 83ff92d225816bc23073e9d5a57cc117a4f25714 branch: 3.12 author: Ethan Furman committer: ethanfurman date: 2024-02-28T15:17:20-08:00 summary: [3.12] gh-115821: [Enum] better error message for calling super()._

[Python-checkins] gh-115821: [Enum] better error message for calling super().__new__() (GH-116063)

2024-02-28 Thread ethanfurman
https://github.com/python/cpython/commit/3ea78fd5bc93fc339ef743e6a5dfde35f04d972e commit: 3ea78fd5bc93fc339ef743e6a5dfde35f04d972e branch: main author: Ethan Furman committer: ethanfurman date: 2024-02-28T15:17:49-08:00 summary: gh-115821: [Enum] better error message for calling super().__new__(

[Python-checkins] [3.12] Update an out-of-date example in the itertools recipe intro (gh-116082) (gh-116084)

2024-02-28 Thread rhettinger
https://github.com/python/cpython/commit/d4a1c8e62817bff5cb8b86b5b387c36bcafa81da commit: d4a1c8e62817bff5cb8b86b5b387c36bcafa81da branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: rhettinger date: 2024-02-28T17:19:17-06:00 summary: [3.12] Upd

[Python-checkins] gh-115859: Fix test_type_inconsistency() when run multiple times (#116079)

2024-02-28 Thread gvanrossum
https://github.com/python/cpython/commit/479ac5ce8a311c9a5830b96e972478867fcbce61 commit: 479ac5ce8a311c9a5830b96e972478867fcbce61 branch: main author: Guido van Rossum committer: gvanrossum date: 2024-02-28T23:56:58Z summary: gh-115859: Fix test_type_inconsistency() when run multiple times (#11

[Python-checkins] gh-115816: Generate calls to sym_new_const() etc. without _Py_uop prefix (#116077)

2024-02-28 Thread gvanrossum
https://github.com/python/cpython/commit/86e5e063aba76a7f4fc58f7d06b17b0a4730fd8e commit: 86e5e063aba76a7f4fc58f7d06b17b0a4730fd8e branch: main author: Guido van Rossum committer: gvanrossum date: 2024-02-29T00:05:53Z summary: gh-115816: Generate calls to sym_new_const() etc. without _Py_uop pre

[Python-checkins] [3.12] gh-114572: Fix locking in cert_store_stats and get_ca_certs (GH-114573) (GH-115547)

2024-02-28 Thread encukou
https://github.com/python/cpython/commit/542f3272f56f31ed04e74c40635a913fbc12d286 commit: 542f3272f56f31ed04e74c40635a913fbc12d286 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: encukou date: 2024-02-29T08:53:56+01:00 summary: [3.12] gh-114