KEMBAR78
[mypyc] Fix spilling values with overlapping error values by JukkaL · Pull Request #18961 · python/mypy · GitHub
Skip to content

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