[Python-checkins] gh-127936, PEP 757: Convert marshal module to use import/export API for ints (#128530)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/d7d066c3ab6842117f9e0fb1c9dde4bce00fa1e3 commit: d7d066c3ab6842117f9e0fb1c9dde4bce00fa1e3 branch: main author: Sergey B Kirpichev committer: vstinner date: 2025-01-23T02:54:23Z summary: gh-127936, PEP 757: Convert marshal module to use import/export API f

[Python-checkins] gh-128863: Deprecate _PyLong_Sign() function (#129176)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/1d485db953fa839942a609202ace49d03708f797 commit: 1d485db953fa839942a609202ace49d03708f797 branch: main author: Victor Stinner committer: vstinner date: 2025-01-23T03:11:53+01:00 summary: gh-128863: Deprecate _PyLong_Sign() function (#129176) Replace _PyL

[Python-checkins] gh-119182: Use public PyUnicodeWriter in Python-ast.c (#129209)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/0093a31273898930e5fb19ff5d1655c4458a2056 commit: 0093a31273898930e5fb19ff5d1655c4458a2056 branch: main author: Victor Stinner committer: vstinner date: 2025-01-23T00:57:37Z summary: gh-119182: Use public PyUnicodeWriter in Python-ast.c (#129209) Replace

[Python-checkins] gh-119182: Use public PyUnicodeWriter in ast_unparse.c (#129208)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/8eb9e76b5b2471031d6ad48ee3bc4554bb0067b7 commit: 8eb9e76b5b2471031d6ad48ee3bc4554bb0067b7 branch: main author: Victor Stinner committer: vstinner date: 2025-01-23T01:44:43+01:00 summary: gh-119182: Use public PyUnicodeWriter in ast_unparse.c (#129208) Re

[Python-checkins] gh-119182: Use public PyUnicodeWriter in wrap_strftime() (#129206)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/327a257e6ae4ad0e3b6e00b35d24937e4b0a0395 commit: 327a257e6ae4ad0e3b6e00b35d24937e4b0a0395 branch: main author: Victor Stinner committer: vstinner date: 2025-01-23T01:18:26+01:00 summary: gh-119182: Use public PyUnicodeWriter in wrap_strftime() (#129206)

[Python-checkins] gh-119182: Use public PyUnicodeWriter in time_strftime() (#129207)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/719c9dd72f43d81072999f0ded8209c07de7fbd0 commit: 719c9dd72f43d81072999f0ded8209c07de7fbd0 branch: main author: Victor Stinner committer: vstinner date: 2025-01-23T01:18:03+01:00 summary: gh-119182: Use public PyUnicodeWriter in time_strftime() (#129207)

[Python-checkins] gh-128627: Emscripten: Fix address calculation for wasm-gc trampoline (#128782)

2025-01-22 Thread freakboy3742
https://github.com/python/cpython/commit/960936fe90f9a0b947c7ed10f91582ff6664c0b8 commit: 960936fe90f9a0b947c7ed10f91582ff6664c0b8 branch: main author: Hood Chatham committer: freakboy3742 date: 2025-01-23T08:02:04+08:00 summary: gh-128627: Emscripten: Fix address calculation for wasm-gc trampol

[Python-checkins] [3.12] Add colour to GitHub Actions output (GH-129196) (#129199)

2025-01-22 Thread hugovk
https://github.com/python/cpython/commit/880ad1813e8d61c219b7a9449d03786416509f8e commit: 880ad1813e8d61c219b7a9449d03786416509f8e branch: 3.12 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-01-22T21:50:35Z

[Python-checkins] [3.13] Add colour to GitHub Actions output (GH-129196) (#129198)

2025-01-22 Thread hugovk
https://github.com/python/cpython/commit/d674792ba773d78d4ed71698b7d47fafb8842d89 commit: d674792ba773d78d4ed71698b7d47fafb8842d89 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: hugovk <[email protected]> date: 2025-01-2

[Python-checkins] Add colour to GitHub Actions output (#129196)

2025-01-22 Thread hugovk
https://github.com/python/cpython/commit/298dda57709c45cbcb44831e0d682dc071af5293 commit: 298dda57709c45cbcb44831e0d682dc071af5293 branch: main author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-01-22T21:22:21Z

[Python-checkins] gh-129192: Use `EnvironmentVarGuard` to restore environment variables (#129193)

2025-01-22 Thread Eclips4
https://github.com/python/cpython/commit/fc6d4b71eb6bb4dcef3def286302e6bec37aec9f commit: fc6d4b71eb6bb4dcef3def286302e6bec37aec9f branch: main author: Kirill Podoprigora committer: Eclips4 date: 2025-01-22T20:39:26Z summary: gh-129192: Use `EnvironmentVarGuard` to restore environment variables

[Python-checkins] [3.13] gh-127873: Only check `sys.flags.ignore_environment` for `PYTHON*` env vars (GH-127877) (#129138)

2025-01-22 Thread hugovk
https://github.com/python/cpython/commit/cc3dc8ab24f872c8d31ddbc4fce7ff1213ec5529 commit: cc3dc8ab24f872c8d31ddbc4fce7ff1213ec5529 branch: 3.13 author: Hugo van Kemenade <[email protected]> committer: hugovk <[email protected]> date: 2025-01-22T21:09:51+0

[Python-checkins] GH-91048: Don't attempt to run on FreeBSD (#129189)

2025-01-22 Thread ambv
https://github.com/python/cpython/commit/67d804b494d5f9f13fff088b50ff488b3701979d commit: 67d804b494d5f9f13fff088b50ff488b3701979d branch: main author: Łukasz Langa committer: ambv date: 2025-01-22T19:27:58+01:00 summary: GH-91048: Don't attempt to run on FreeBSD (#129189) files: M Modules/_tes

[Python-checkins] [3.12] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399) (#129190)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/9ed04d95162cb5b23663dac706e1646ea195e180 commit: 9ed04d95162cb5b23663dac706e1646ea195e180 branch: 3.12 author: Pablo Galindo Salgado committer: pablogsal date: 2025-01-22T18:08:58Z summary: [3.12] gh-124363: Treat debug expressions in f-string as raw stri

[Python-checkins] [3.13] gh-124363: Treat debug expressions in f-string as raw strings (GH-128399) (#129187)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/f7f8b8b75884377e9db1f5a830a3ecbc2bacbb94 commit: f7f8b8b75884377e9db1f5a830a3ecbc2bacbb94 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2025-01-22T17:19:07Z summary: [3.13] gh-124363

[Python-checkins] [3.13] gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value (GH-128653) (#129186)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/0b90dc8e89465ef02bbea06ae3f237cb5a190e57 commit: 0b90dc8e89465ef02bbea06ae3f237cb5a190e57 branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2025-01-22T16:38:13Z summary: [3.13] gh-128636

[Python-checkins] gh-124363: Treat debug expressions in f-string as raw strings (#128399)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/60a3a0dd6fe140fdc87f6e769ee5bb17d92efe4e commit: 60a3a0dd6fe140fdc87f6e769ee5bb17d92efe4e branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-01-22T16:24:54Z summary: gh-124363: Treat debug expressions in f-string as raw strings (#1

[Python-checkins] gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invalid value (#128653)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/ba9a4b621577b92f36d88388cc9f791c2dc7d7ba commit: ba9a4b621577b92f36d88388cc9f791c2dc7d7ba branch: main author: Tomas R. committer: pablogsal date: 2025-01-22T16:15:23Z summary: gh-128636: Fix crash in PyREPL when `os.environ` is overwritten with an invali

[Python-checkins] gh-129158: Fix unwanted trailing whitespace in test_asyncio.test_subprocess (#129181)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/2ed5ee9a50454b3fce87b26be5838ca7127b2ff9 commit: 2ed5ee9a50454b3fce87b26be5838ca7127b2ff9 branch: main author: Łukasz Langa committer: vstinner date: 2025-01-22T13:52:45Z summary: gh-129158: Fix unwanted trailing whitespace in test_asyncio.test_subprocess

[Python-checkins] [3.13] gh-128770: fix ResourceWarning in test_pyrepl (GH-128906) (#129179)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/67971cd605246ce4390cd56218aa4ae3366cb54e commit: 67971cd605246ce4390cd56218aa4ae3366cb54e branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2025-01-22T13:13:08Z summary: [3.13] gh-128770

[Python-checkins] [3.13] gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxError` metadata (GH-128946) (#129178)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/7f6e80a03ec2f6328aaaff4ea6598fb6cafbafda commit: 7f6e80a03ec2f6328aaaff4ea6598fb6cafbafda branch: 3.13 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2025-01-22T13:12:39Z summary: [3.13] gh-128894

[Python-checkins] gh-125723: Fix crash with f_locals when generator frame outlive their generator (#126956)

2025-01-22 Thread sobolevn
https://github.com/python/cpython/commit/8e20e42cc63321dacc500d7670bfc225ca04e78b commit: 8e20e42cc63321dacc500d7670bfc225ca04e78b branch: main author: Mikhail Efimov committer: sobolevn date: 2025-01-22T15:50:01+03:00 summary: gh-125723: Fix crash with f_locals when generator frame outlive the

[Python-checkins] gh-128770: fix ResourceWarning in test_pyrepl (#128906)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/24c84d816f2f2ecb76b80328c3f1d8c05ead0b10 commit: 24c84d816f2f2ecb76b80328c3f1d8c05ead0b10 branch: main author: Thomas Grainger committer: pablogsal date: 2025-01-22T12:48:33Z summary: gh-128770: fix ResourceWarning in test_pyrepl (#128906) files: M Lib/t

[Python-checkins] gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxError` metadata (#128946)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/a16ded10ad3952406280be5ab9ff86a476867b08 commit: a16ded10ad3952406280be5ab9ff86a476867b08 branch: main author: sobolevn committer: pablogsal date: 2025-01-22T12:47:03Z summary: gh-128894: Fix `TracebackException._format_syntax_error` on custom `SyntaxErr

[Python-checkins] [3.11] gh-128069: brew link --overwrite tcl-tk@8 to prevent conflict with GitHub image's version (GH-128090) (#129172)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/49edb990a5648b587c2aa0e6fadfd6d1e3ce9ee5 commit: 49edb990a5648b587c2aa0e6fadfd6d1e3ce9ee5 branch: 3.11 author: Miss Islington (bot) <[email protected]> committer: pablogsal date: 2025-01-22T12:25:24Z summary: [3.11] gh-128069

[Python-checkins] gh-129158: Ensure we restore unix_events.can_use_pidfd after SubprocessThreadedWatcherTests finishes (#129160)

2025-01-22 Thread pablogsal
https://github.com/python/cpython/commit/a9f5edbf5fb141ad172978b25483342125184ed2 commit: a9f5edbf5fb141ad172978b25483342125184ed2 branch: main author: Pablo Galindo Salgado committer: pablogsal date: 2025-01-22T12:25:42Z summary: gh-129158: Ensure we restore unix_events.can_use_pidfd after Sub

[Python-checkins] gh-128863: Deprecate private C API functions (#128864)

2025-01-22 Thread vstinner
https://github.com/python/cpython/commit/9012fa741d55419dc77c5c191794eb93e71ae9a4 commit: 9012fa741d55419dc77c5c191794eb93e71ae9a4 branch: main author: Victor Stinner committer: vstinner date: 2025-01-22T11:04:19Z summary: gh-128863: Deprecate private C API functions (#128864) Deprecate private

[Python-checkins] GH-128682: Change a couple of functions to only steal references on success. (GH-129132)

2025-01-22 Thread markshannon
https://github.com/python/cpython/commit/470a0a68e4254f1a3e8e22cce0c3a0827055 commit: 470a0a68e4254f1a3e8e22cce0c3a0827055 branch: main author: Mark Shannon committer: markshannon date: 2025-01-22T10:51:37Z summary: GH-128682: Change a couple of functions to only steal references on succ

[Python-checkins] gh-61103: Add What's New entry for complex types in ctypes (GH-129129)

2025-01-22 Thread encukou
https://github.com/python/cpython/commit/a65f802692bd04e1ad18e467d4ccb033b049c2a7 commit: a65f802692bd04e1ad18e467d4ccb033b049c2a7 branch: main author: Petr Viktorin committer: encukou date: 2025-01-22T10:59:20+01:00 summary: gh-61103: Add What's New entry for complex types in ctypes (GH-129129)

[Python-checkins] gh-128902: Fix check for fallthrough attribute support (#128903)

2025-01-22 Thread ned-deily
https://github.com/python/cpython/commit/edf803345a5c57c38fca3850386530e30b397eca commit: edf803345a5c57c38fca3850386530e30b397eca branch: main author: Joshua Root committer: ned-deily date: 2025-01-22T04:25:30-05:00 summary: gh-128902: Fix check for fallthrough attribute support (#128903) Clan