[Python-checkins] GH-113225: Speed up `pathlib.Path.walk(top_down=False)` (#113693)

2024-01-19 Thread barneygale
https://github.com/python/cpython/commit/1e610fb05fa4ba61a759b68461f1a9aed07622fc commit: 1e610fb05fa4ba61a759b68461f1a9aed07622fc branch: main author: Barney Gale committer: barneygale date: 2024-01-20T03:06:00Z summary: GH-113225: Speed up `pathlib.Path.walk(top_down=False)` (#113693) Use `_m

[Python-checkins] GH-79634: Accept path-like objects as pathlib glob patterns. (#114017)

2024-01-19 Thread barneygale
https://github.com/python/cpython/commit/6313cdde58f34648a430d2830357c9d2a5b67b87 commit: 6313cdde58f34648a430d2830357c9d2a5b67b87 branch: main author: Barney Gale committer: barneygale date: 2024-01-20T02:10:25Z summary: GH-79634: Accept path-like objects as pathlib glob patterns. (#114017) Al

[Python-checkins] [3.12] Check for valid tp_version_tag in specializer (gh-89811) (gh-114216)

2024-01-19 Thread Fidget-Spinner
https://github.com/python/cpython/commit/ae2a25bf607410bb87d0b0c556adc7f56ec73fa9 commit: ae2a25bf607410bb87d0b0c556adc7f56ec73fa9 branch: 3.12 author: Peter Lazorchak committer: Fidget-Spinner date: 2024-01-20T04:45:33+08:00 summary: [3.12] Check for valid tp_version_tag in specializer (gh-8981

[Python-checkins] [3.11] gh-113358: Fix rendering tracebacks with exceptions with a broken __getattr__ (GH-113359) (#114118)

2024-01-19 Thread iritkatriel
https://github.com/python/cpython/commit/20f7cf2c7f2e3fd170a27a3ded8cc80124ba9f2d commit: 20f7cf2c7f2e3fd170a27a3ded8cc80124ba9f2d branch: 3.11 author: Jérome Perrin committer: iritkatriel <1055913+iritkatr...@users.noreply.github.com> date: 2024-01-19T20:35:57Z summary: [3.11] gh-113358: Fix ren

[Python-checkins] Add a `clean` subcommand to `Tools/wasm/wasi.py` (GH-114274)

2024-01-19 Thread brettcannon
https://github.com/python/cpython/commit/681e9e85a2c1f72576ddfbd766506e2d6db34862 commit: 681e9e85a2c1f72576ddfbd766506e2d6db34862 branch: main author: Brett Cannon committer: brettcannon date: 2024-01-19T11:38:52-08:00 summary: Add a `clean` subcommand to `Tools/wasm/wasi.py` (GH-114274) files

[Python-checkins] Retain shorter tables of contents for Sphinx 5.2.3+ (#114318)

2024-01-19 Thread AA-Turner
https://github.com/python/cpython/commit/229ee5bea1fb8f9de1f4d29397634cd3a433fb8d commit: 229ee5bea1fb8f9de1f4d29397634cd3a433fb8d branch: main author: Hugo van Kemenade <1324225+hug...@users.noreply.github.com> committer: AA-Turner <9087854+aa-tur...@users.noreply.github.com> date: 2024-01-19T18:5

[Python-checkins] [3.11] gh-108303: Move all doctest related files and tests to `Lib/test/test_doctest/` (GH-112109) (#114313)

2024-01-19 Thread vstinner
https://github.com/python/cpython/commit/a4ad7a0ac5dad9e4e1b2dc17cdbc02dc763e625f commit: a4ad7a0ac5dad9e4e1b2dc17cdbc02dc763e625f branch: 3.11 author: Nikita Sobolev committer: vstinner date: 2024-01-19T16:12:48+01:00 summary: [3.11] gh-108303: Move all doctest related files and tests to `Lib/

[Python-checkins] gh-114265: move line number propagation before cfg optimization, remove guarantee_lineno_for_exits (#114267)

2024-01-19 Thread iritkatriel
https://github.com/python/cpython/commit/7e49f27b41d5728cde1f8790586d113ddc25f18d commit: 7e49f27b41d5728cde1f8790586d113ddc25f18d branch: main author: Irit Katriel <1055913+iritkatr...@users.noreply.github.com> committer: iritkatriel <1055913+iritkatr...@users.noreply.github.com> date: 2024-01-19T

[Python-checkins] gh-114275: Skip doctests that use `asyncio` in `test_pdb` for WASI builds (#114309)

2024-01-19 Thread vstinner
https://github.com/python/cpython/commit/efb81a60f5ce7e192095230a0f7ff9684d6f835a commit: efb81a60f5ce7e192095230a0f7ff9684d6f835a branch: main author: Nikita Sobolev committer: vstinner date: 2024-01-19T14:00:34+01:00 summary: gh-114275: Skip doctests that use `asyncio` in `test_pdb` for WASI b

[Python-checkins] gh-113884: Refactor `queue.SimpleQueue` to use a ring buffer to store items (#114259)

2024-01-19 Thread erlend-aasland
https://github.com/python/cpython/commit/28eacf27efaa07cb8d9c0c3e9253a07b9012415f commit: 28eacf27efaa07cb8d9c0c3e9253a07b9012415f branch: main author: mpage committer: erlend-aasland date: 2024-01-19T12:17:51Z summary: gh-113884: Refactor `queue.SimpleQueue` to use a ring buffer to store items

[Python-checkins] [3.12] gh-114286: Fix `maybe-uninitialized` warning in `Modules/_io/fileio.c` (GH-114287) (GH-114288)

2024-01-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/ffac6ac656f5ba591cddc88c990c2187a4d9a83d commit: ffac6ac656f5ba591cddc88c990c2187a4d9a83d branch: 3.12 author: Miss Islington (bot) <31488909+miss-isling...@users.noreply.github.com> committer: serhiy-storchaka date: 2024-01-19T10:58:09Z summary: [3.12] gh

[Python-checkins] gh-114286: Fix `maybe-uninitialized` warning in `Modules/_io/fileio.c` (GH-114287)

2024-01-19 Thread serhiy-storchaka
https://github.com/python/cpython/commit/05e47202a34e6ae05e699af1083455f5b8b59496 commit: 05e47202a34e6ae05e699af1083455f5b8b59496 branch: main author: Nikita Sobolev committer: serhiy-storchaka date: 2024-01-19T10:25:05Z summary: gh-114286: Fix `maybe-uninitialized` warning in `Modules/_io/file