summaryrefslogtreecommitdiffstats
path: root/Python/tracemalloc.c
diff options
context:
space:
mode:
authorSam Gross <colesbury@gmail.com>2024-06-24 18:08:23 (GMT)
committerGitHub <noreply@github.com>2024-06-24 18:08:23 (GMT)
commitdee63cb35971b87a09ddda5d6f29cd941f570720 (patch)
treed85aeddbf77b7f2f990ec570688fb716a6e85375 /Python/tracemalloc.c
parent0153fd094019b84e18b8e8451019694595f67f9e (diff)
downloadcpython-dee63cb35971b87a09ddda5d6f29cd941f570720.zip
cpython-dee63cb35971b87a09ddda5d6f29cd941f570720.tar.gz
cpython-dee63cb35971b87a09ddda5d6f29cd941f570720.tar.bz2
gh-120860: Fix a few bugs in `type_setattro` error paths. (#120861)
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.
Diffstat (limited to 'Python/tracemalloc.c')
0 files changed, 0 insertions, 0 deletions