summaryrefslogtreecommitdiffstats
path: root/Python/Python-ast.c
diff options
context:
space:
mode:
authorMiss Islington (bot) <31488909+miss-islington@users.noreply.github.com>2024-06-24 18:33:39 (GMT)
committerGitHub <noreply@github.com>2024-06-24 18:33:39 (GMT)
commit6aee5edb84cfa23f430091270a4118e51894c767 (patch)
tree14d49722bc9e1d20a7a7d1462872965ced66ea4b /Python/Python-ast.c
parent9769b7ae064a0546a98cbcbec2561dbaba20cd23 (diff)
downloadcpython-6aee5edb84cfa23f430091270a4118e51894c767.zip
cpython-6aee5edb84cfa23f430091270a4118e51894c767.tar.gz
cpython-6aee5edb84cfa23f430091270a4118e51894c767.tar.bz2
[3.13] gh-120860: Fix a few bugs in `type_setattro` error paths. (GH-120861) (#120963)
Moves the logic to update the type's dictionary to its own function in order to make the lock scoping more clear. Also, ensure that `name` is decref'd on the error path. (cherry picked from commit dee63cb35971b87a09ddda5d6f29cd941f570720) Co-authored-by: Sam Gross <colesbury@gmail.com>
Diffstat (limited to 'Python/Python-ast.c')
0 files changed, 0 insertions, 0 deletions