Skip to content

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

Merged
JukkaL merged 1 commit into
masterfrom
mypyc-async-spill-types
Apr 24, 2025
Merged

[mypyc] Fix spilling values with overlapping error values#18961
JukkaL merged 1 commit into
masterfrom
mypyc-async-spill-types

Conversation

@JukkaL

@JukkaL JukkaL commented Apr 24, 2025

Copy link
Copy Markdown
Collaborator

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
@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