]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-143636: fix a crash when calling ``__replace__`` on invalid `SimpleNamespac...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 14 Mar 2026 10:35:41 +0000 (11:35 +0100)
committerGitHub <noreply@github.com>
Sat, 14 Mar 2026 10:35:41 +0000 (10:35 +0000)
commit1749b3c6868deab6888d1aea68a00b28ae729696
treea56820463e3c42801064b2666e275fdf942d6718
parentef757268e0b1fb198f216cb468c0033deecaa6e4
[3.14] gh-143636: fix a crash when calling ``__replace__`` on invalid `SimpleNamespace` instances (GH-143655) (#145938)

gh-143636: fix a crash when calling ``__replace__`` on invalid `SimpleNamespace` instances (GH-143655)
(cherry picked from commit 97968564b61965f2a65a9be8af731cee6913eb7a)

Co-authored-by: Bénédikt Tran <10796600+picnixz@users.noreply.github.com>
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