[Python-checkins] [3.11] gh-116326: Handler errors correctly in `getwindowsversion` in `sysmodule` (GH-116339) (#116388)

2024-03-05 Thread sobolevn
https://github.com/python/cpython/commit/23c17f3c1aa9a0da6de0a50586aee9ddd39f48cb commit: 23c17f3c1aa9a0da6de0a50586aee9ddd39f48cb branch: 3.11 author: Nikita Sobolev committer: sobolevn date: 2024-03-06T10:54:34+03:00 summary: [3.11] gh-116326: Handler errors correctly in `getwindowsversion` in

[Python-checkins] gh-112087: Update list_get_item_ref to optimistically avoid locking (gh-116353)

2024-03-05 Thread corona10
https://github.com/python/cpython/commit/d2f1b0eb4956b4923f111c7c740ba7ab25f3312d commit: d2f1b0eb4956b4923f111c7c740ba7ab25f3312d branch: main author: Donghee Na committer: corona10 date: 2024-03-06T08:21:33+09:00 summary: gh-112087: Update list_get_item_ref to optimistically avoid locking (gh-

[Python-checkins] gh-116112: Fix `ResourceWarning` in `test_asyncio.test_stream` (#116371)

2024-03-05 Thread sobolevn
https://github.com/python/cpython/commit/990a5f17d05214abe8aafedf8e6418a0fb5ffd50 commit: 990a5f17d05214abe8aafedf8e6418a0fb5ffd50 branch: main author: Nikita Sobolev committer: sobolevn date: 2024-03-06T01:08:18+03:00 summary: gh-116112: Fix `ResourceWarning` in `test_asyncio.test_stream` (#116

[Python-checkins] [3.11] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives (GH-116327) (GH-116373) (GH-116384)

2024-03-05 Thread brettcannon
https://github.com/python/cpython/commit/4637a1fcbd52d89b0561b588485e6240eac7b07d commit: 4637a1fcbd52d89b0561b588485e6240eac7b07d branch: 3.11 author: Brett Cannon committer: brettcannon date: 2024-03-05T22:05:42Z summary: [3.11] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/p

[Python-checkins] [3.12] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives (GH-116327) (GH-116373)

2024-03-05 Thread brettcannon
https://github.com/python/cpython/commit/88fdb082d98104dd5612b06397f4c764a0936616 commit: 88fdb082d98104dd5612b06397f4c764a0936616 branch: 3.12 author: Brett Cannon committer: brettcannon date: 2024-03-05T13:35:02-08:00 summary: [3.12] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI

[Python-checkins] [3.12] gh-115986: Fix inaccuracies in pprint docs (GH-116104) (#116382)

2024-03-05 Thread erlend-aasland
https://github.com/python/cpython/commit/23a9ba45ae59217b53bb656fe040ed3817c09998 commit: 23a9ba45ae59217b53bb656fe040ed3817c09998 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland date: 2024-03-05T21:20:51Z summary: [3.12] gh-1

[Python-checkins] [3.11] gh-115986: Fix inaccuracies in pprint docs (GH-116104) (#116383)

2024-03-05 Thread erlend-aasland
https://github.com/python/cpython/commit/8675e7f85301da6bd333099c4eddb4d6165b4abe commit: 8675e7f85301da6bd333099c4eddb4d6165b4abe branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: erlend-aasland date: 2024-03-05T21:20:59Z summary: [3.11] gh-1

[Python-checkins] gh-115986: Fix inaccuracies in pprint docs (#116104)

2024-03-05 Thread erlend-aasland
https://github.com/python/cpython/commit/e205c5cd8f1a49d0ef126123312ee8a40d1416b6 commit: e205c5cd8f1a49d0ef126123312ee8a40d1416b6 branch: main author: Kerim Kabirov <[email protected]> committer: erlend-aasland date: 2024-03-05T22:14:52+01:00 summary: gh-115986: Fix

[Python-checkins] [3.11] chore: fix typos (GH-116345) (#116375)

2024-03-05 Thread terryjreedy
https://github.com/python/cpython/commit/f4672e25697f2b99202ca2cfa9b8960fab698f37 commit: f4672e25697f2b99202ca2cfa9b8960fab698f37 branch: 3.11 author: Terry Jan Reedy committer: terryjreedy date: 2024-03-05T20:33:59Z summary: [3.11] chore: fix typos (GH-116345) (#116375) Co-authored-by: cui fl

[Python-checkins] gh-115103: Enable internal mimalloc assertions in debug builds (#116343)

2024-03-05 Thread colesbury
https://github.com/python/cpython/commit/72714c0266ce6d39c7c7fb63f617573b8f5a3cb2 commit: 72714c0266ce6d39c7c7fb63f617573b8f5a3cb2 branch: main author: Sam Gross committer: colesbury date: 2024-03-05T13:54:20-05:00 summary: gh-115103: Enable internal mimalloc assertions in debug builds (#116343)

[Python-checkins] [3.12] chore: fix typos (#116345) (#116370)

2024-03-05 Thread terryjreedy
https://github.com/python/cpython/commit/84b023d2431eafd4548ef86502e37dd08fcb commit: 84b023d2431eafd4548ef86502e37dd08fcb branch: 3.12 author: Terry Jan Reedy committer: terryjreedy date: 2024-03-05T18:51:17Z summary: [3.12] chore: fix typos (#116345) (#116370) Co-authored-by: cui flit

[Python-checkins] gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)

2024-03-05 Thread ericsnowcurrently
https://github.com/python/cpython/commit/dab85e01898ae737ba6197199090a51a6d4dd1fb commit: dab85e01898ae737ba6197199090a51a6d4dd1fb branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-03-05T18:51:04Z summary: gh-76785: Use PRId64 to Fix a Compiler Warning on Windows (gh-116369)

[Python-checkins] gh-109653: Just import `recursive_repr` in `dataclasses` (gh-109822)

2024-03-05 Thread ericvsmith
https://github.com/python/cpython/commit/edc9d85c68af600431556f3e8edae9b0fbfdfd34 commit: edc9d85c68af600431556f3e8edae9b0fbfdfd34 branch: main author: Nikita Sobolev committer: ericvsmith date: 2024-03-05T13:12:00-05:00 summary: gh-109653: Just import `recursive_repr` in `dataclasses` (gh-10982

[Python-checkins] Fix debug output for optimized executor (#116337)

2024-03-05 Thread gvanrossum
https://github.com/python/cpython/commit/d444dec09ae05150f0d339a060fca23990d4834e commit: d444dec09ae05150f0d339a060fca23990d4834e branch: main author: Guido van Rossum committer: gvanrossum date: 2024-03-05T10:05:29-08:00 summary: Fix debug output for optimized executor (#116337) This adjusts

[Python-checkins] [3.11] gh-74668: Fix support of bytes in urllib.parse.parse_qsl() (GH-115771) (GH-116367)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/fa670a59ba3b952ee64fa0fc195cdd0ae787d080 commit: fa670a59ba3b952ee64fa0fc195cdd0ae787d080 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T17:52:03Z summary: [3.11] gh

[Python-checkins] [3.12] gh-74668: Fix support of bytes in urllib.parse.parse_qsl() (GH-115771) (GH-116366)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/55faaa5c3661e96f38e23e5ceedafd3f9fac8272 commit: 55faaa5c3661e96f38e23e5ceedafd3f9fac8272 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T17:51:35Z summary: [3.12] gh

[Python-checkins] [3.11] gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125) (GH-116365)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/c75df4b13a1ec6317699142b29380bc500f52dcf commit: c75df4b13a1ec6317699142b29380bc500f52dcf branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T17:32:30Z summary: [3.11] gh

[Python-checkins] [3.12] gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125) (GH-116364)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/85c32ad9fd3780d8cc68a692c396cc840c093d69 commit: 85c32ad9fd3780d8cc68a692c396cc840c093d69 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T17:27:22Z summary: [3.12] gh

[Python-checkins] gh-115554: Improved logic for handling multiple existing py.exe launcher installs (GH-115793)

2024-03-05 Thread zooba
https://github.com/python/cpython/commit/34efd49280ca710fd0358c72323c9d0c45a32b27 commit: 34efd49280ca710fd0358c72323c9d0c45a32b27 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: zooba date: 2024-03-05T16:47:03Z summary: gh-115554: Improved

[Python-checkins] [3.11] Fix the PyGetSetDef documentation (GH-116056) (GH-116368)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/c67a4b6bdbc1b188f9e17242897e358740ed6783 commit: c67a4b6bdbc1b188f9e17242897e358740ed6783 branch: 3.11 author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-03-05T16:26:29Z summary: [3.11] Fix the PyGetSetDef documentation (GH-116056) (GH-116368

[Python-checkins] [3.12] Fix the PyGetSetDef documentation (GH-116056) (GH-116363)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/6e89141d73eb89f2d7c827555f0e1cdf5c86be31 commit: 6e89141d73eb89f2d7c827555f0e1cdf5c86be31 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T16:16:50Z summary: [3.12] Fi

[Python-checkins] [3.11] gh-115777: Fix double versionadded directives (GH-116269) (GH-116362)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/1b9f0d1f61c9ce1f143ba29082cd3dbc208d4177 commit: 1b9f0d1f61c9ce1f143ba29082cd3dbc208d4177 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T16:12:22Z summary: [3.11] gh

[Python-checkins] chore: fix typos (#116345)

2024-03-05 Thread carljm
https://github.com/python/cpython/commit/e7ba6e9dbe5433b4a0bcb0658da6a68197c28630 commit: e7ba6e9dbe5433b4a0bcb0658da6a68197c28630 branch: main author: cui fliter committer: carljm date: 2024-03-05T09:05:52-07:00 summary: chore: fix typos (#116345) Signed-off-by: cui fliter files: M Doc/libra

[Python-checkins] [3.12] gh-115777: Fix double versionadded directives (GH-116269) (GH-116361)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/0f5cd44e1cdffa0b373e853943d50e721279754d commit: 0f5cd44e1cdffa0b373e853943d50e721279754d branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: serhiy-storchaka date: 2024-03-05T16:00:40Z summary: [3.12] gh

[Python-checkins] gh-76785: Minor Improvements to "interpreters" Module (gh-116328)

2024-03-05 Thread ericsnowcurrently
https://github.com/python/cpython/commit/4402b3cbcf8323bfa908ef86a687a5a7d46d27f3 commit: 4402b3cbcf8323bfa908ef86a687a5a7d46d27f3 branch: main author: Eric Snow committer: ericsnowcurrently date: 2024-03-05T08:54:46-07:00 summary: gh-76785: Minor Improvements to "interpreters" Module (gh-116328

[Python-checkins] [3.12] gh-116326: Handler errors correctly in `getwindowsversion` in `sysmodule` (GH-116339) (#116354)

2024-03-05 Thread sobolevn
https://github.com/python/cpython/commit/9a42cfa368e7cfb7d4e920798e0c3abdc24de301 commit: 9a42cfa368e7cfb7d4e920798e0c3abdc24de301 branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2024-03-05T18:52:15+03:00 summary: [3.12] gh-11

[Python-checkins] gh-74668: Fix support of bytes in urllib.parse.parse_qsl() (GH-115771)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/bdba8ef42b15e651dc23374a08143cc2b4c4657d commit: bdba8ef42b15e651dc23374a08143cc2b4c4657d branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-03-05T17:49:50+02:00 summary: gh-74668: Fix support of bytes in urllib.parse.parse_qsl()

[Python-checkins] gh-76511: Fix email.Message.as_string() for non-ASCII message with ASCII charset (GH-116125)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/f97f25ef5dfcdfec0d9a359fd970abd139cf3428 commit: f97f25ef5dfcdfec0d9a359fd970abd139cf3428 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-03-05T17:49:01+02:00 summary: gh-76511: Fix email.Message.as_string() for non-ASCII mess

[Python-checkins] Fix the PyGetSetDef documentation (GH-116056)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/df594011089a83d151ac7000954665536f3461b5 commit: df594011089a83d151ac7000954665536f3461b5 branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-03-05T17:48:20+02:00 summary: Fix the PyGetSetDef documentation (GH-116056) closure is

[Python-checkins] gh-115777: Fix double versionadded directives (GH-116269)

2024-03-05 Thread serhiy-storchaka
https://github.com/python/cpython/commit/0064dfa0919cc93257c351a609f99461f6e4e3ac commit: 0064dfa0919cc93257c351a609f99461f6e4e3ac branch: main author: Serhiy Storchaka committer: serhiy-storchaka date: 2024-03-05T17:41:53+02:00 summary: gh-115777: Fix double versionadded directives (GH-116269)

[Python-checkins] GH-115685: Split `_TO_BOOL_ALWAYS_TRUE` into micro-ops (GH-116352)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/23db9c62272f7470aadf8f52fe3ebb42b5e5d380 commit: 23db9c62272f7470aadf8f52fe3ebb42b5e5d380 branch: main author: Mark Shannon committer: markshannon date: 2024-03-05T15:23:08Z summary: GH-115685: Split `_TO_BOOL_ALWAYS_TRUE` into micro-ops (GH-116352) file

[Python-checkins] GH-115819: Eliminate Boolean guards when value is known (GH-116355)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/0c81ce13602b88fd59f23f701ed8dc377d74e76e commit: 0c81ce13602b88fd59f23f701ed8dc377d74e76e branch: main author: Mark Shannon committer: markshannon date: 2024-03-05T15:06:00Z summary: GH-115819: Eliminate Boolean guards when value is known (GH-116355) fil

[Python-checkins] gh-116326: Handler errors correctly in `getwindowsversion` in `sysmodule` (#116339)

2024-03-05 Thread sobolevn
https://github.com/python/cpython/commit/c91bdf86ef1cf9365b61a46aa2e51e5d1932b00a commit: c91bdf86ef1cf9365b61a46aa2e51e5d1932b00a branch: main author: Nikita Sobolev committer: sobolevn date: 2024-03-05T12:31:04Z summary: gh-116326: Handler errors correctly in `getwindowsversion` in `sysmodule`

[Python-checkins] GH-115685: Optimize `TO_BOOL` and variants based on truthiness of input. (GH-116311)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/cbf3d38cbeb6e640d5959549169ec45cdedc1a71 commit: cbf3d38cbeb6e640d5959549169ec45cdedc1a71 branch: main author: Mark Shannon committer: markshannon date: 2024-03-05T11:23:46Z summary: GH-115685: Optimize `TO_BOOL` and variants based on truthiness of input.

[Python-checkins] [3.11] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341) (#116348)

2024-03-05 Thread sobolevn
https://github.com/python/cpython/commit/f187da5b596f5ec16f060fc7a3113e149507c1fc commit: f187da5b596f5ec16f060fc7a3113e149507c1fc branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2024-03-05T10:15:54Z summary: [3.11] gh-116325:

[Python-checkins] [3.12] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (GH-116341) (#116347)

2024-03-05 Thread sobolevn
https://github.com/python/cpython/commit/6264c4f4b2f99ba71678e1ff29347e6b3136f51c commit: 6264c4f4b2f99ba71678e1ff29347e6b3136f51c branch: 3.12 author: Miss Islington (bot) <[email protected]> committer: sobolevn date: 2024-03-05T10:08:27Z summary: [3.12] gh-116325:

[Python-checkins] gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef with empty string arg (#116341)

2024-03-05 Thread AlexWaygood
https://github.com/python/cpython/commit/a29998a06bf75264c3faaeeec4584a5f75b45a1f commit: a29998a06bf75264c3faaeeec4584a5f75b45a1f branch: main author: Nikita Sobolev committer: AlexWaygood date: 2024-03-05T09:14:18Z summary: gh-116325: Raise `SyntaxError` rather than `IndexError` on ForwardRef

[Python-checkins] gh-112075: Enable freeing with qsbr and fallback to lock on key changed (GH-116336)

2024-03-05 Thread markshannon
https://github.com/python/cpython/commit/ffcc450a9b8b6927549b501eff7ac14abc238448 commit: ffcc450a9b8b6927549b501eff7ac14abc238448 branch: main author: Dino Viehland committer: markshannon date: 2024-03-05T09:08:18Z summary: gh-112075: Enable freeing with qsbr and fallback to lock on key changed

[Python-checkins] GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/preview2 primitives (#116327)

2024-03-05 Thread kushaldas
https://github.com/python/cpython/commit/7af063d1d85f965da06a65eca800f4c537d55fa5 commit: 7af063d1d85f965da06a65eca800f4c537d55fa5 branch: main author: Brett Cannon committer: kushaldas date: 2024-03-05T09:18:53+01:00 summary: GH-116313: get WASI builds to run under wasmtime 18 w/ WASI 0.2/previ