]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.13] gh-143636: fix a crash when calling ``__replace__`` on invalid `SimpleNamespac...
authorBénédikt Tran <10796600+picnixz@users.noreply.github.com>
Sat, 14 Mar 2026 11:00:56 +0000 (12:00 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2026 11:00:56 +0000 (11:00 +0000)
commitcd2e47135cca67ccaa4e039adf279a85d8fbc1d1
tree51d9bedbef3891489d08238355ff1f8d5f1e40b8
parente11166cda06f5a362a6da68bca79628384547347
[3.13] gh-143636: fix a crash when calling ``__replace__`` on invalid `SimpleNamespace` instances (GH-143655) (#145940)

[3.13] gh-143636: fix a crash when calling ``__replace__`` on invalid `SimpleNamespace` instances (GH-143655)

(cherry picked from commit 97968564b61965f2a65a9be8af731cee6913eb7a)
Lib/test/test_types.py
Misc/NEWS.d/next/Core_and_Builtins/2026-01-10-12-59-58.gh-issue-143636.dzr26e.rst [new file with mode: 0644]
Objects/namespaceobject.c