8000 [3.13] gh-120860: Fix a few bugs in `type_setattro` error paths. (GH-120861) by miss-islington · Pull Request #120963 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

[3.13] gh-120860: Fix a few bugs in type_setattro error paths. (GH-120861) #120963

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Jun 24, 2024

Conversation

miss-islington
Copy link
Contributor
@miss-islington miss-islington commented Jun 24, 2024

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 dee63cb)

Co-authored-by: Sam Gross colesbury@gmail.com

…onGH-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.
(cherry picked from commit dee63cb)

Co-authored-by: Sam Gross <colesbury@gmail.com>
@colesbury colesbury enabled auto-merge (squash) June 24, 2024 18:09
@colesbury colesbury merged commit 6aee5ed into python:3.13 Jun 24, 2024
35 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants
0