Skip to content

Make refcounting handle error values loaded into registers #10819

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
Jul 14, 2021

Conversation

msullivan
Copy link
Collaborator

Currently the finally path has a hacky pointless branch
on a register that is potentially NULL in order to convince
refcounting to do the right thing.

I want to add another case that would require this, so just fix
refcounting to properly account for error values in registers.

Copy link
Collaborator

@JukkaL JukkaL left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks! LGTM

@JukkaL JukkaL merged commit d0bd1c8 into master Jul 14, 2021
@JukkaL JukkaL deleted the refcount-errors branch July 14, 2021 16:30
sthagen added a commit to sthagen/python-mypy that referenced this pull request Jul 14, 2021
Make refcounting handle error values loaded into registers (python#10819)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants