[Python-checkins] gh-138716: Fix `assert a := b` syntax error message (#138718)

2025-09-11 Thread sobolevn
https://github.com/python/cpython/commit/cf8f36fe0a1f89c071c6b72c4c5ef610fe5ffafe commit: cf8f36fe0a1f89c071c6b72c4c5ef610fe5ffafe branch: main author: sobolevn committer: sobolevn date: 2025-09-10T16:05:16+03:00 summary: gh-138716: Fix `assert a := b` syntax error message (#138718) files: A M

[Python-checkins] [3.14] Docs: Small clarity change for ``except*`` (GH-121073) (#137494)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/500abc41e813ed2c7d9ca1f2e1a8a761fdeb537d commit: 500abc41e813ed2c7d9ca1f2e1a8a761fdeb537d branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] gh-138081: fix some dead links in InternalDocs (#138082)

2025-09-11 Thread picnixz
https://github.com/python/cpython/commit/a1707e4516c4861efbd43068da6e0db2d38ef87d commit: a1707e4516c4861efbd43068da6e0db2d38ef87d branch: main author: yihong committer: picnixz <[email protected]> date: 2025-09-11T10:54:16+02:00 summary: gh-138081: fix some dead links in

[Python-checkins] GH-101100: Remove some entries from ``nitpick_ignore`` (#138464)

2025-09-11 Thread AA-Turner
https://github.com/python/cpython/commit/22cb9ba8f90bfbc0b8831365b6864f41b19d0b6e commit: 22cb9ba8f90bfbc0b8831365b6864f41b19d0b6e branch: main author: Adam Turner <[email protected]> committer: AA-Turner <[email protected]> date: 2025-09-08T22:10:2

[Python-checkins] [3.14] Mention the "context manager" keyword in concurrent.futures documentation (GH-130976) (#137810)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/dcadc539fd3777d08a420cb600a598fb6935d267 commit: dcadc539fd3777d08a420cb600a598fb6935d267 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] gh-136672: Docs: Move Enum functions and add examples (GH-136791) (#137688)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/4b093e1796a9c09926817ea4933b7172e1396e00 commit: 4b093e1796a9c09926817ea4933b7172e1396e00 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] gh-85076: Document exceptions that can be raised by importlib.import_module (GH-94662)

2025-09-11 Thread brettcannon
https://github.com/python/cpython/commit/66ef16105a1c47d99a5f19e8ef28776c1289e8dc commit: 66ef16105a1c47d99a5f19e8ef28776c1289e8dc branch: main author: Samuel Sloniker committer: brettcannon date: 2025-09-09T12:52:00-07:00 summary: gh-85076: Document exceptions that can be raised by importlib.im

[Python-checkins] [3.13] gh-138744: GitHub Actions: pin to `windows-2022` (GH-138743) (#138753)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/443d4af2eeb732bd1c0f7cbcecd91baf2f2fa66c commit: 443d4af2eeb732bd1c0f7cbcecd91baf2f2fa66c branch: 3.13 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-09-10T19:15:22+0

[Python-checkins] Remove unused prototype `_PyPegen_set_source_in_metadata` (#138810)

2025-09-11 Thread pablogsal
https://github.com/python/cpython/commit/4afa98596ea0182a9aed1556866813052c425a8e commit: 4afa98596ea0182a9aed1556866813052c425a8e branch: main author: Christoph Walcher committer: pablogsal date: 2025-09-12T00:40:49Z summary: Remove unused prototype `_PyPegen_set_source_in_metadata` (#138810)

[Python-checkins] gh-116738: add multi-threaded tests for `resource` module on free-threading builds (#138504)

2025-09-11 Thread kumaraditya303
https://github.com/python/cpython/commit/32e1e0699ffda8ec1dd5a0eb178b052352ab7d31 commit: 32e1e0699ffda8ec1dd5a0eb178b052352ab7d31 branch: main author: Alper committer: kumaraditya303 date: 2025-09-11T19:08:08+05:30 summary: gh-116738: add multi-threaded tests for `resource` module on free-threa

[Python-checkins] [3.14] gh-133125: Clarify ZipInfo.date_time attribute documentation (GH-136082) (#138077)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/7e0232895a0698d842d432271311c0616fefdb44 commit: 7e0232895a0698d842d432271311c0616fefdb44 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.13] gh-71810: Fix corner case (length==0) for int.to_bytes() (GH-138739) (#138783)

2025-09-11 Thread vstinner
https://github.com/python/cpython/commit/7195d7f3d4c79f3711ede2e504c19bedc39aa3ad commit: 7195d7f3d4c79f3711ede2e504c19bedc39aa3ad branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: vstinner date: 2025-09-11T10:53:27Z summary: [3.13] gh-71810:

[Python-checkins] [3.13] gh-138479: Ensure that `__typing_subst__` returns a tuple (GH-138482) (GH-138786)

2025-09-11 Thread ZeroIntensity
https://github.com/python/cpython/commit/e7720612eafd4b049892e83da3239447b57b9a6e commit: e7720612eafd4b049892e83da3239447b57b9a6e branch: 3.13 author: Peter Bierma committer: ZeroIntensity date: 2025-09-11T11:08:57Z summary: [3.13] gh-138479: Ensure that `__typing_subst__` returns a tuple (GH-1

[Python-checkins] gh-116946: fully implement GC protocol for `_tkinter.Tk{app,tt}Object` (#138331)

2025-09-11 Thread picnixz
https://github.com/python/cpython/commit/283380a9417eebf1bf9d3a1e941cef94149712bb commit: 283380a9417eebf1bf9d3a1e941cef94149712bb branch: main author: Bénédikt Tran <[email protected]> committer: picnixz <[email protected]> date: 2025-09-11T12:59:30+

[Python-checkins] gh-138756: Fix memory leak in PyInitConfig_Free() (#138759)

2025-09-11 Thread vstinner
https://github.com/python/cpython/commit/96dee64c73531325daa9e048b3c18212f5eadd98 commit: 96dee64c73531325daa9e048b3c18212f5eadd98 branch: main author: Victor Stinner committer: vstinner date: 2025-09-11T10:46:19Z summary: gh-138756: Fix memory leak in PyInitConfig_Free() (#138759) Clear also m

[Python-checkins] gh-138013: Move I/O test infrastructre to test_io.utils (#138475)

2025-09-11 Thread vstinner
https://github.com/python/cpython/commit/101172486f81d00092ffea09f75d65770362e76b commit: 101172486f81d00092ffea09f75d65770362e76b branch: main author: Cody Maloney committer: vstinner date: 2025-09-11T12:45:30+02:00 summary: gh-138013: Move I/O test infrastructre to test_io.utils (#138475) Thi

[Python-checkins] [3.14] Docs: Fix typo in `os.fwalk()` example (GH-138486) (#138500)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/badab2c1a97b574f3339889b492ba5cf9aec4980 commit: badab2c1a97b574f3339889b492ba5cf9aec4980 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] Add impl-detail block for PyLong_FromLong docs (GH-126422) (#138694)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/5eb7cd3e38e7325fd452e9eaa9e377c422e9f94d commit: 5eb7cd3e38e7325fd452e9eaa9e377c422e9f94d branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] GH-138562: Remove ``sort()`` from the common sequence methods in the data model (GH-138563) (#138760)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/a36981598c1fd50ee945147deda9a5e222e52375 commit: a36981598c1fd50ee945147deda9a5e222e52375 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] gh-138644: Update c-api docs of `PyInterpreterState` about PEP-684 (GH-138651) (#138657)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/47441f0874f5586dc612cd26bf6567ec11c59e5b commit: 47441f0874f5586dc612cd26bf6567ec11c59e5b branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] gh-135676: Reword the Operators & Delimiters section(s) (GH-137713) (#138457)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/15ca9c681646cf5b2832d28fa38f7b8f2e99ea29 commit: 15ca9c681646cf5b2832d28fa38f7b8f2e99ea29 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] Docs: Fix typo in `shutil.make_archive` example (GH-138188) (#138195)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/4ce4b82d359d074864729d7422a263cca480549e commit: 4ce4b82d359d074864729d7422a263cca480549e branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] Fix typo in `logging` docs (GH-137981) (#137983)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/34afba47479f701c9567c3d3f5c437ae03b80b55 commit: 34afba47479f701c9567c3d3f5c437ae03b80b55 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] [docs] minor, fix grammar in ssl.SSLContect.sslsocket_class docstring (GH-137935) (#137950)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/30588d5f9172f9e26df25cc55c45b1264b2ca519 commit: 30588d5f9172f9e26df25cc55c45b1264b2ca519 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] gh-131885: Use positional-only markers for the ``decimal`` module (GH-131990) (#137902)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/39e024df8e29c36fc873e7af281afacdef817b72 commit: 39e024df8e29c36fc873e7af281afacdef817b72 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] gh-125897: Mark range function parameters as positional only (GH-125945) (#137652)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/735ac97e160e7015c3f2465a3d993cb5d8c9e4f9 commit: 735ac97e160e7015c3f2465a3d993cb5d8c9e4f9 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] Fix documentation of hash in PyHash_FuncDef (GH-137595) (#137642)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/4bba1a294b88bad8865d61a6e58e7909136544eb commit: 4bba1a294b88bad8865d61a6e58e7909136544eb branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] gh-137368: document __index__() support for PyLong_AsInt32/64() (GH-137369) (#137380)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/7f5319dd545b836090496a1f2b9f13667a3cd4e5 commit: 7f5319dd545b836090496a1f2b9f13667a3cd4e5 branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] [3.14] Fix Windows path in `venv` docs (GH-138476) (#138477)

2025-09-11 Thread hugovk
https://github.com/python/cpython/commit/7fba07a7a92463791dba7e5032f3ebee0fdf91fb commit: 7fba07a7a92463791dba7e5032f3ebee0fdf91fb branch: 3.14 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-09-1

[Python-checkins] gh-138432: Improved invalid path checking in zoneinfo.reset_tzpath() (GH-138433)

2025-09-11 Thread serhiy-storchaka
https://github.com/python/cpython/commit/859aecc33b82f45e5b7ae30138d28f2a2f33a575 commit: 859aecc33b82f45e5b7ae30138d28f2a2f33a575 branch: main author: Stephen Morton committer: serhiy-storchaka date: 2025-09-11T10:08:53+03:00 summary: gh-138432: Improved invalid path checking in zoneinfo.reset_