]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
[3.14] gh-133783: Fix __replace__ on AST nodes for optional attributes (GH-133797...
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>
Sat, 10 May 2025 16:44:07 +0000 (18:44 +0200)
committerGitHub <noreply@github.com>
Sat, 10 May 2025 16:44:07 +0000 (16:44 +0000)
commit856e5903babcc78dca8eba4feb2ce6aebdc60e6c
tree659dfcdc2955b9e762486a4c26e6cdc78accadae
parent13c94d04010269405be44cfac217a85740587549
[3.14] gh-133783: Fix __replace__ on AST nodes for optional attributes (GH-133797) (#133842)

gh-133783: Fix __replace__ on AST nodes for optional attributes (GH-133797)
(cherry picked from commit 7dddb4e667b5eb76cbe11755051ec139b0f437a9)

Co-authored-by: Jelle Zijlstra <jelle.zijlstra@gmail.com>
Lib/test/test_ast/test_ast.py
Misc/NEWS.d/next/Library/2025-05-09-19-05-24.gh-issue-133783.1voCnR.rst [new file with mode: 0644]
Parser/asdl_c.py
Python/Python-ast.c