Skip to content

[mypyc] Fix spilling values with overlapping error values #18961

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
Apr 24, 2025

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Apr 24, 2025

Update spilling transform for async and generator functions to not require a defined attribute bitfield. We now treat temporary spilled values with overlapping error values as always defined. I'm not sure if this would be safe to do for reference counted values, so we only do this in cases where it's clearly fine.

Update spilling transform for async and generator functions to not require
a defined attribute bitfield. We now treat temporary values with overlapping
errors values as always defined. This would be more difficult to do for
reference counted values, so we don't do this for all values.
@JukkaL JukkaL merged commit bbca30b into master Apr 24, 2025
12 checks passed
@JukkaL JukkaL deleted the mypyc-async-spill-types branch April 24, 2025 10:59
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