diff options
author | Sam Gross <colesbury@gmail.com> | 2024-06-24 18:08:23 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-24 18:08:23 (GMT) |
commit | dee63cb35971b87a09ddda5d6f29cd941f570720 (patch) | |
tree | d85aeddbf77b7f2f990ec570688fb716a6e85375 /Python/tracemalloc.c | |
parent | 0153fd094019b84e18b8e8451019694595f67f9e (diff) | |
download | cpython-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