[Python-checkins] [3.13] GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766) (#119767)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/083bf3ad1795604ee833d1595f2a536b9cd57419 commit: 083bf3ad1795604ee833d1595f2a536b9cd57419 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-05-30T04:40:21Z summary: [3.13] GH-89727

[Python-checkins] [3.12] GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (GH-119766) (#119768)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/d4a146d56727f456e579419cbb2bb72e6667103a commit: d4a146d56727f456e579419cbb2bb72e6667103a branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-05-30T05:30:37+01:00 summary: [3.12] GH-

[Python-checkins] GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (#119766)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/a5fef800d31648d19cecc240a2fa0dc71371753e commit: a5fef800d31648d19cecc240a2fa0dc71371753e branch: main author: Barney Gale committer: barneygale date: 2024-05-30T03:45:47Z summary: GH-89727: Fix FD leak on `os.fwalk()` generator finalization. (#119766) F

[Python-checkins] [3.12] GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) (#119765)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/aae371bda47d4c758059264f86a3ed6cbaa15a4a commit: aae371bda47d4c758059264f86a3ed6cbaa15a4a branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-05-30T03:32:14Z summary: [3.12] GH-89727

[Python-checkins] [3.13] GH-89727: Fix `os.fwalk()` recursion error on deep trees (GH-119638) (#119764)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/810a09ad3710be60cff9e174be85ca65e76cdbd1 commit: 810a09ad3710be60cff9e174be85ca65e76cdbd1 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-05-30T03:28:55Z summary: [3.13] GH-89727

[Python-checkins] [3.12] gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (GH-119480) (#119761)

2024-05-29 Thread carljm
https://github.com/python/cpython/commit/681d7da144d1471ed5c0a155c838dc4a4a36636d commit: 681d7da144d1471ed5c0a155c838dc4a4a36636d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: carljm date: 2024-05-30T03:24:50Z summary: [3.12] gh-119260: C

[Python-checkins] GH-89727: Fix `os.fwalk()` recursion error on deep trees (#119638)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/3c890b503c740767d0eb9a0e74b47f17a1e69452 commit: 3c890b503c740767d0eb9a0e74b47f17a1e69452 branch: main author: Barney Gale committer: barneygale date: 2024-05-30T03:05:36Z summary: GH-89727: Fix `os.fwalk()` recursion error on deep trees (#119638) Implem

[Python-checkins] [3.13] gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (GH-119480) (#119760)

2024-05-29 Thread carljm
https://github.com/python/cpython/commit/06c62d697a87822690342cd0d99d1cdbeca4ce9d commit: 06c62d697a87822690342cd0d99d1cdbeca4ce9d branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: carljm date: 2024-05-30T01:28:31Z summary: [3.13] gh-119260: C

[Python-checkins] subprocess docs: Fix semantically important typo (GH-119752)

2024-05-29 Thread zware
https://github.com/python/cpython/commit/2cc3502f98bb9aea386ab55443fc077ddcdde91d commit: 2cc3502f98bb9aea386ab55443fc077ddcdde91d branch: main author: Zachary Ware committer: zware date: 2024-05-29T22:19:54Z summary: subprocess docs: Fix semantically important typo (GH-119752) GH-25416 acciden

[Python-checkins] [3.13] gh-117398: Add multiphase support to _datetime (gh-119694)

2024-05-29 Thread ericsnowcurrently
https://github.com/python/cpython/commit/af57832e634720a797a54973a85d15ac3e13cf60 commit: af57832e634720a797a54973a85d15ac3e13cf60 branch: 3.13 author: Eric Snow committer: ericsnowcurrently date: 2024-05-29T15:54:47-06:00 summary: [3.13] gh-117398: Add multiphase support to _datetime (gh-119694

[Python-checkins] [3.13] GH-119169: Implement `pathlib.Path.walk()` using `os.walk()` (GH-119573) (#119750)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/a7aa7c41ebfce5bf537c939c8dfc0605adcfabd8 commit: a7aa7c41ebfce5bf537c939c8dfc0605adcfabd8 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-05-29T21:24:42Z summary: [3.13] GH-11916

[Python-checkins] [3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) (#119749)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/45587df8d0a129fb580cdd591f514efb09f49305 commit: 45587df8d0a129fb580cdd591f514efb09f49305 branch: 3.12 author: Barney Gale committer: barneygale date: 2024-05-29T21:53:08+01:00 summary: [3.12] GH-89727: Partially fix `shutil.rmtree()` recursion error on d

[Python-checkins] gh-119070: Avoid test crash due to Unicode in stderr output (GH-119747)

2024-05-29 Thread zooba
https://github.com/python/cpython/commit/e9025039801ed9be48b825e6fff614ef3bc7dafb commit: e9025039801ed9be48b825e6fff614ef3bc7dafb branch: 3.12 author: Steve Dower committer: zooba date: 2024-05-29T20:51:30Z summary: gh-119070: Avoid test crash due to Unicode in stderr output (GH-119747) files:

[Python-checkins] GH-119169: Implement `pathlib.Path.walk()` using `os.walk()` (#119573)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/7ff61f51b6f75315291419269295a8ac3933397b commit: 7ff61f51b6f75315291419269295a8ac3933397b branch: main author: Barney Gale committer: barneygale date: 2024-05-29T20:51:04Z summary: GH-119169: Implement `pathlib.Path.walk()` using `os.walk()` (#119573) Fo

[Python-checkins] [3.13] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (GH-119634) (#119748)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/061abf8e4c1a0a920067aa73b0e41f40c89e340b commit: 061abf8e4c1a0a920067aa73b0e41f40c89e340b branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: barneygale date: 2024-05-29T20:41:03Z summary: [3.13] GH-89727

[Python-checkins] GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (#119634)

2024-05-29 Thread barneygale
https://github.com/python/cpython/commit/a150679f90c6e3f017bd75cac3b8f727063cc4aa commit: a150679f90c6e3f017bd75cac3b8f727063cc4aa branch: main author: Barney Gale committer: barneygale date: 2024-05-29T20:11:30Z summary: GH-89727: Partially fix `shutil.rmtree()` recursion error on deep trees (

[Python-checkins] gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension (GH-119426)

2024-05-29 Thread zooba
https://github.com/python/cpython/commit/c3cfc04a736111cb61883cef08469ea46f86d9ce commit: c3cfc04a736111cb61883cef08469ea46f86d9ce branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: zooba date: 2024-05-29T20:06:38Z summary: gh-119070: Fix py.ex

[Python-checkins] [3.13] gh-119525: Fix deadlock with `_PyType_Lookup` and the GIL (GH-119527) (#119746)

2024-05-29 Thread colesbury
https://github.com/python/cpython/commit/dcfbd3be9f1e0ba7aa32214e8f5f7f2ea4375a28 commit: dcfbd3be9f1e0ba7aa32214e8f5f7f2ea4375a28 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: colesbury date: 2024-05-29T19:47:47Z summary: [3.13] gh-119525

[Python-checkins] gh-119525: Fix deadlock with `_PyType_Lookup` and the GIL (#119527)

2024-05-29 Thread colesbury
https://github.com/python/cpython/commit/c22323cd1c200ca1b22c47af95f67c4b2d661fe7 commit: c22323cd1c200ca1b22c47af95f67c4b2d661fe7 branch: main author: Sam Gross committer: colesbury date: 2024-05-29T15:26:04-04:00 summary: gh-119525: Fix deadlock with `_PyType_Lookup` and the GIL (#119527) The

[Python-checkins] gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension (GH-119426)

2024-05-29 Thread zooba
https://github.com/python/cpython/commit/bc01c5d2252a31304a58c14d0e1aeffa4795092a commit: bc01c5d2252a31304a58c14d0e1aeffa4795092a branch: 3.12 author: Steve Dower committer: zooba date: 2024-05-29T20:12:55+01:00 summary: gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension

[Python-checkins] gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension (GH-119426)

2024-05-29 Thread zooba
https://github.com/python/cpython/commit/df93f5d4bf9d70036d485666d4dd4f009d37f8b9 commit: df93f5d4bf9d70036d485666d4dd4f009d37f8b9 branch: main author: Steve Dower committer: zooba date: 2024-05-29T18:51:13+01:00 summary: gh-119070: Fix py.exe handling of /usr/bin/env commands missing extension

[Python-checkins] gh-119594: Improve pow(fraction.Fraction(), b, modulo) error message (#119593)

2024-05-29 Thread terryjreedy
https://github.com/python/cpython/commit/fcca08ec2f48f4ba5ba1d4690fb39b1efe630944 commit: fcca08ec2f48f4ba5ba1d4690fb39b1efe630944 branch: main author: Wim Jeantine-Glenn committer: terryjreedy date: 2024-05-29T13:46:20-04:00 summary: gh-119594: Improve pow(fraction.Fraction(), b, modulo) error

[Python-checkins] gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation and Tests (#119480)

2024-05-29 Thread carljm
https://github.com/python/cpython/commit/bf4ff3ad2e362801e87c85fffd9e140b774cef26 commit: bf4ff3ad2e362801e87c85fffd9e140b774cef26 branch: main author: Aditya Borikar committer: carljm date: 2024-05-29T17:26:22Z summary: gh-119260: Clarify is_dataclass Behavior for Subclasses in Documentation an

[Python-checkins] gh-119721: Integrate documentation fixes into heapq module docstring. (gh-119722)

2024-05-29 Thread rhettinger
https://github.com/python/cpython/commit/659cb7e6b8e83e1541fc27fd29d4846e940b600e commit: 659cb7e6b8e83e1541fc27fd29d4846e940b600e branch: main author: Filip Ɓajszczak committer: rhettinger date: 2024-05-29T11:39:34-05:00 summary: gh-119721: Integrate documentation fixes into heapq module docstr

[Python-checkins] gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717)

2024-05-29 Thread zooba
https://github.com/python/cpython/commit/78d697b7d5ec2a6fa046b0e1c34e804f49e750b4 commit: 78d697b7d5ec2a6fa046b0e1c34e804f49e750b4 branch: main author: Steve Dower committer: zooba date: 2024-05-29T16:51:09+01:00 summary: gh-119690: Adds Unicode support for named pipes in _winapi (GH-119717) fi

[Python-checkins] gh-119655: Fix reference leak in the ``_datetimemodule.c`` (gh-119713)

2024-05-29 Thread ericsnowcurrently
https://github.com/python/cpython/commit/34f9b3e7244615d2372614b20e10250e68cc8e61 commit: 34f9b3e7244615d2372614b20e10250e68cc8e61 branch: main author: Kirill Podoprigora committer: ericsnowcurrently date: 2024-05-29T09:43:03-06:00 summary: gh-119655: Fix reference leak in the ``_datetimemodule.

[Python-checkins] gh-119273: Don't run test_ioctl in a process group (#119275)

2024-05-29 Thread vstinner
https://github.com/python/cpython/commit/1f481fd3275dbc12a88c16129621de19ea20e4ca commit: 1f481fd3275dbc12a88c16129621de19ea20e4ca branch: main author: Victor Stinner committer: vstinner date: 2024-05-29T12:44:09Z summary: gh-119273: Don't run test_ioctl in a process group (#119275) Python test

[Python-checkins] CI: set correct working directory for Hypothesis cache (GH-119345)

2024-05-29 Thread encukou
https://github.com/python/cpython/commit/055c739536ad63b55ad7cd0b91ccacc33064fe11 commit: 055c739536ad63b55ad7cd0b91ccacc33064fe11 branch: main author: Zac Hatfield-Dodds committer: encukou date: 2024-05-29T14:13:18+02:00 summary: CI: set correct working directory for Hypothesis cache (GH-119345

[Python-checkins] [3.13] gh-119555: catch SyntaxError from compile() in the InteractiveColoredConsole (GH-119557) (#119709)

2024-05-29 Thread pablogsal
https://github.com/python/cpython/commit/40a024c9835cddd85f14bab4b1e8f6545a621208 commit: 40a024c9835cddd85f14bab4b1e8f6545a621208 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2024-05-29T12:04:45+01:00 summary: [3.13] gh-1

[Python-checkins] gh-119613: Soft deprecate Py_IS_NAN/INFINITY/FINITE (#119701)

2024-05-29 Thread vstinner
https://github.com/python/cpython/commit/0cdc5c8d5446e5eedd34e03d8e380bc237d1379b commit: 0cdc5c8d5446e5eedd34e03d8e380bc237d1379b branch: main author: Sergey B Kirpichev committer: vstinner date: 2024-05-29T10:45:14Z summary: gh-119613: Soft deprecate Py_IS_NAN/INFINITY/FINITE (#119701) Co-aut

[Python-checkins] gh-93554: add test for quickening of code in loops ending with conditional statement (#119485)

2024-05-29 Thread iritkatriel
https://github.com/python/cpython/commit/016a46ab572fc681e4a06760147b9ae311b21881 commit: 016a46ab572fc681e4a06760147b9ae311b21881 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-05-29T

[Python-checkins] [3.13] gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712) (#119716)

2024-05-29 Thread vstinner
https://github.com/python/cpython/commit/48c777688305bfa45038a15ab09c03350503a2c4 commit: 48c777688305bfa45038a15ab09c03350503a2c4 branch: 3.13 author: Victor Stinner committer: vstinner date: 2024-05-29T10:32:00Z summary: [3.13] gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#11971

[Python-checkins] gh-119689: generate stack effect metadata for pseudo instructions (#119691)

2024-05-29 Thread iritkatriel
https://github.com/python/cpython/commit/c1e9647107c854439a9864b6ec4f6784aeb94ed5 commit: c1e9647107c854439a9864b6ec4f6784aeb94ed5 branch: main author: Irit Katriel <[email protected]> committer: iritkatriel <[email protected]> date: 2024-05-29T

[Python-checkins] gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712)

2024-05-29 Thread vstinner
https://github.com/python/cpython/commit/7ca74a760a5d3cdf48159f003d4db7c2778e9261 commit: 7ca74a760a5d3cdf48159f003d4db7c2778e9261 branch: main author: Victor Stinner committer: vstinner date: 2024-05-29T11:37:04+02:00 summary: gh-119661: Add _Py_SINGLETON() include in Argumenet Clinic (#119712)

[Python-checkins] gh-119613: Use C99+ functions instead of Py_IS_NAN/INFINITY/FINITE (#119619)

2024-05-29 Thread vstinner
https://github.com/python/cpython/commit/cd11ff12ac55f37d38b5ef08c143c78f07da5717 commit: cd11ff12ac55f37d38b5ef08c143c78f07da5717 branch: main author: Sergey B Kirpichev committer: vstinner date: 2024-05-29T09:51:19+02:00 summary: gh-119613: Use C99+ functions instead of Py_IS_NAN/INFINITY/FINI

[Python-checkins] [3.13] gh-119704: Fix reference leak in the ``Python/Python-tokenize.c`` (GH-119705) (#119707)

2024-05-29 Thread pablogsal
https://github.com/python/cpython/commit/7a9534f595ccd9f2bdea5ceeecb837a82e44c620 commit: 7a9534f595ccd9f2bdea5ceeecb837a82e44c620 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2024-05-29T07:26:13Z summary: [3.13] gh-119704

[Python-checkins] [3.12] gh-119704: Fix reference leak in the ``Python/Python-tokenize.c`` (GH-119705) (#119708)

2024-05-29 Thread pablogsal
https://github.com/python/cpython/commit/a62681c4055f62484efe1edc2446fc4cce5c2bf0 commit: a62681c4055f62484efe1edc2446fc4cce5c2bf0 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2024-05-29T07:18:04Z summary: [3.12] gh-119704