[Python-checkins] gh-115532 Add kde_random() to the statistic module (#118210)

2024-05-03 Thread rhettinger
https://github.com/python/cpython/commit/42dc5b4ace39a3983cd9853719527f4724693adc commit: 42dc5b4ace39a3983cd9853719527f4724693adc branch: main author: Raymond Hettinger committer: rhettinger date: 2024-05-03T23:13:36-05:00 summary: gh-115532 Add kde_random() to the statistic module (#118210) f

[Python-checkins] GH-113464: Generate a more efficient JIT (GH-118512)

2024-05-03 Thread brandtbucher
https://github.com/python/cpython/commit/1b7e5e6e60e0d22b2a928cbbb36ebb989183450f commit: 1b7e5e6e60e0d22b2a928cbbb36ebb989183450f branch: main author: Brandt Bucher committer: brandtbucher date: 2024-05-03T16:41:07-07:00 summary: GH-113464: Generate a more efficient JIT (GH-118512) files: M Py

[Python-checkins] GH-118251: Fix incomplete ternary expression in JIT workflow (GH-118564)

2024-05-03 Thread brandtbucher
https://github.com/python/cpython/commit/139dc487b5ac37b0c2c4b93f2bfba194507d8310 commit: 139dc487b5ac37b0c2c4b93f2bfba194507d8310 branch: main author: Brandt Bucher committer: brandtbucher date: 2024-05-03T16:10:02-07:00 summary: GH-118251: Fix incomplete ternary expression in JIT workflow (GH-

[Python-checkins] [3.12] Minor improvements to the itertools recipes (GH-118563) (#118565)

2024-05-03 Thread rhettinger
https://github.com/python/cpython/commit/7da5737bd8250fe6d77866d8de21ad97f1a83c86 commit: 7da5737bd8250fe6d77866d8de21ad97f1a83c86 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: rhettinger date: 2024-05-03T17:20:29-05:00 summary: [3.12] Min

[Python-checkins] gh-118527: Intern filename, name, and qualname in code objects. (#118558)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/37c31bea72fb6971f1008faa2e253d12167c221f commit: 37c31bea72fb6971f1008faa2e253d12167c221f branch: main author: Sam Gross committer: colesbury date: 2024-05-03T18:16:45-04:00 summary: gh-118527: Intern filename, name, and qualname in code objects. (#118558

[Python-checkins] gh-118534: Fix load of `gil->locked` (#118553)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/0e78a545e6e78b16eb7709ec3db2243364603134 commit: 0e78a545e6e78b16eb7709ec3db2243364603134 branch: main author: Sam Gross committer: colesbury date: 2024-05-03T18:13:40-04:00 summary: gh-118534: Fix load of `gil->locked` (#118553) files: M Python/ceval_gi

[Python-checkins] Minor improvements to the itertools recipes (#118563)

2024-05-03 Thread rhettinger
https://github.com/python/cpython/commit/6d9e8e989e9e0931f84155451f921621b906e213 commit: 6d9e8e989e9e0931f84155451f921621b906e213 branch: main author: Raymond Hettinger committer: rhettinger date: 2024-05-03T17:07:47-05:00 summary: Minor improvements to the itertools recipes (#118563) files: M

[Python-checkins] GH-116380: Move pathlib globbing implementation into `pathlib._glob` (#118562)

2024-05-03 Thread barneygale
https://github.com/python/cpython/commit/a40f557d7b7a355a55bb90c068e3e9202fd9c8f2 commit: a40f557d7b7a355a55bb90c068e3e9202fd9c8f2 branch: main author: Barney Gale committer: barneygale date: 2024-05-03T20:29:25Z summary: GH-116380: Move pathlib globbing implementation into `pathlib._glob` (#118

[Python-checkins] gh-117657: Disable the function/code cache in free-threaded builds (#118301)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/37d095002216a4e45b4e82539ca0421ded8aaae3 commit: 37d095002216a4e45b4e82539ca0421ded8aaae3 branch: main author: mpage committer: colesbury date: 2024-05-03T16:21:04-04:00 summary: gh-117657: Disable the function/code cache in free-threaded builds (#118301)

[Python-checkins] GH-118251: Skip fewer test in emulated JIT CI (GH-118536)

2024-05-03 Thread brandtbucher
https://github.com/python/cpython/commit/52485967813acdb35c274e1b2eaedd34e9ac01fc commit: 52485967813acdb35c274e1b2eaedd34e9ac01fc branch: main author: Savannah Ostrowski committer: brandtbucher date: 2024-05-03T19:07:10Z summary: GH-118251: Skip fewer test in emulated JIT CI (GH-118536) files:

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

2024-05-03 Thread markshannon
https://github.com/python/cpython/commit/9c14ed06188aa4d462cd0fc4218c6023f9bf03cb commit: 9c14ed06188aa4d462cd0fc4218c6023f9bf03cb branch: main author: Tian Gao committer: markshannon date: 2024-05-03T19:49:24+01:00 summary: gh-107674: Improve performance of `sys.settrace` (GH-117133) * Check t

[Python-checkins] gh-83856: Honor atexit for all multiprocessing start methods (GH-114279)

2024-05-03 Thread gpshead
https://github.com/python/cpython/commit/998c3856c1e922ece806c162858dc587a1e92e02 commit: 998c3856c1e922ece806c162858dc587a1e92e02 branch: main author: Tian Gao committer: gpshead date: 2024-05-03T11:45:46-07:00 summary: gh-83856: Honor atexit for all multiprocessing start methods (GH-114279) U

[Python-checkins] GH-118487: Add Black to `.pre-commit-config.yaml` for JIT files (GH-118537)

2024-05-03 Thread brandtbucher
https://github.com/python/cpython/commit/cb57a52a85a7845b1c017085f05a7f6d71855edc commit: cb57a52a85a7845b1c017085f05a7f6d71855edc branch: main author: Savannah Ostrowski committer: brandtbucher date: 2024-05-03T10:49:51-07:00 summary: GH-118487: Add Black to `.pre-commit-config.yaml` for JIT fi

[Python-checkins] gh-115119: Update macOS installer to build with libmpdec 4.0.0 (GH-118382)

2024-05-03 Thread ned-deily
https://github.com/python/cpython/commit/dd8f05fee26cb98770744291a007ceb6b49a5089 commit: dd8f05fee26cb98770744291a007ceb6b49a5089 branch: main author: Erlend E. Aasland committer: ned-deily date: 2024-05-03T16:49:40Z summary: gh-115119: Update macOS installer to build with libmpdec 4.0.0 (GH-11

[Python-checkins] gh-115119: Update Windows installer to mpdecimal 4.0.0 (#118506)

2024-05-03 Thread erlend-aasland
https://github.com/python/cpython/commit/13245027526bf1b21fae6e7ca62ceec2e39fcfb7 commit: 13245027526bf1b21fae6e7ca62ceec2e39fcfb7 branch: main author: Erlend E. Aasland committer: erlend-aasland date: 2024-05-03T18:00:43+02:00 summary: gh-115119: Update Windows installer to mpdecimal 4.0.0 (#11

[Python-checkins] [3.12] docs: clarify csv.DictReader's treatment of the first data row (GH-118549) (#118555)

2024-05-03 Thread JelleZijlstra
https://github.com/python/cpython/commit/4a18a9b4b3cd7d8ef1b5095f0aeadc75f6338848 commit: 4a18a9b4b3cd7d8ef1b5095f0aeadc75f6338848 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: JelleZijlstra date: 2024-05-03T15:55:09Z summary: [3.12] docs:

[Python-checkins] docs: clarify csv.DictReader's treatment of the first data row (#118549)

2024-05-03 Thread JelleZijlstra
https://github.com/python/cpython/commit/9d67b72a4952766fdba803eb6eadd41dfee29dff commit: 9d67b72a4952766fdba803eb6eadd41dfee29dff branch: main author: Ned Batchelder committer: JelleZijlstra date: 2024-05-03T08:48:27-07:00 summary: docs: clarify csv.DictReader's treatment of the first data row

[Python-checkins] gh-118527: Use deferred reference counting for C functions on modules (#118529)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/608192ee2f6c60aaae1c6f2f64ea45ad2667ff2d commit: 608192ee2f6c60aaae1c6f2f64ea45ad2667ff2d branch: main author: Sam Gross committer: colesbury date: 2024-05-03T11:33:05-04:00 summary: gh-118527: Use deferred reference counting for C functions on modules (#

[Python-checkins] gh-116322: Add Py_mod_gil module slot (#116882)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/c2627d6eea924daf80f374c18a5fd73ef61283fa commit: c2627d6eea924daf80f374c18a5fd73ef61283fa branch: main author: Brett Simmers committer: colesbury date: 2024-05-03T11:30:55-04:00 summary: gh-116322: Add Py_mod_gil module slot (#116882) This PR adds the ab

[Python-checkins] gh-118495: Skip test using threads after forking when running with TSAN (#118530)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/3e818afb9b7c557aa633aeb3d5c4959750feeab0 commit: 3e818afb9b7c557aa633aeb3d5c4959750feeab0 branch: main author: mpage committer: colesbury date: 2024-05-03T11:14:26-04:00 summary: gh-118495: Skip test using threads after forking when running with TSAN (#1

[Python-checkins] gh-117514: Add `sys._is_gil_enabled()` function (#118514)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/2dae505e87e3815f087d4b07a71bb2c5cce22304 commit: 2dae505e87e3815f087d4b07a71bb2c5cce22304 branch: main author: Sam Gross committer: colesbury date: 2024-05-03T11:09:57-04:00 summary: gh-117514: Add `sys._is_gil_enabled()` function (#118514) The function

[Python-checkins] gh-118527: Use `_Py_ID(__main__)` for main module name (#118528)

2024-05-03 Thread colesbury
https://github.com/python/cpython/commit/24e643d4ef024a3561c927dc07c59c435bb27bcc commit: 24e643d4ef024a3561c927dc07c59c435bb27bcc branch: main author: Sam Gross committer: colesbury date: 2024-05-03T11:05:30-04:00 summary: gh-118527: Use `_Py_ID(__main__)` for main module name (#118528) Most m

[Python-checkins] [3.12] gh-118513: Fix sibling comprehensions with a name bound in one and global in the other (GH-118526) (#118548)

2024-05-03 Thread carljm
https://github.com/python/cpython/commit/3706eef02ab8a176ba4463c164fdb541fb5efae0 commit: 3706eef02ab8a176ba4463c164fdb541fb5efae0 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: carljm date: 2024-05-03T14:40:05Z summary: [3.12] gh-118513: F

[Python-checkins] gh-118513: Fix sibling comprehensions with a name bound in one and global in the other (#118526)

2024-05-03 Thread carljm
https://github.com/python/cpython/commit/c8deb1e4b495bf97ab00c710dfd63f227e1fb645 commit: c8deb1e4b495bf97ab00c710dfd63f227e1fb645 branch: main author: Carl Meyer committer: carljm date: 2024-05-03T14:05:19Z summary: gh-118513: Fix sibling comprehensions with a name bound in one and global in t

[Python-checkins] gh-101732: Modules/_ssl.c: use Y2038 compatible openssl function when available (GH-118425)

2024-05-03 Thread encukou
https://github.com/python/cpython/commit/37ccf167869d101c4021c435868b7f89ccda8148 commit: 37ccf167869d101c4021c435868b7f89ccda8148 branch: main author: Alexander Kanavin committer: encukou date: 2024-05-03T15:34:05+02:00 summary: gh-101732: Modules/_ssl.c: use Y2038 compatible openssl function w

[Python-checkins] [3.12] gh-117492: Clarify documentation of `typing.Never` (GH-117678) (#118547)

2024-05-03 Thread JelleZijlstra
https://github.com/python/cpython/commit/a7f495c7badd163ebc119d0ef78015dbb57f52b2 commit: a7f495c7badd163ebc119d0ef78015dbb57f52b2 branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: JelleZijlstra date: 2024-05-03T13:09:05Z summary: [3.12] gh-11

[Python-checkins] gh-117492: Clarify documentation of `typing.Never` (#117678)

2024-05-03 Thread JelleZijlstra
https://github.com/python/cpython/commit/852263e1086748492602a90347ecc0a3925e1dda commit: 852263e1086748492602a90347ecc0a3925e1dda branch: main author: Nice Zombies committer: JelleZijlstra date: 2024-05-03T06:02:11-07:00 summary: gh-117492: Clarify documentation of `typing.Never` (#117678) Co-