Thanks to visit codestin.com
Credit goes to github.com

Skip to content

[mypyc] Support yields while values are live - #16305

Merged
JukkaL merged 15 commits into
masterfrom
yield-spillage
Apr 22, 2025
Merged

[mypyc] Support yields while values are live#16305
JukkaL merged 15 commits into
masterfrom
yield-spillage

Conversation

@msullivan

@msullivan msullivan commented Oct 21, 2023

Copy link
Copy Markdown
Collaborator

Also support await while temporary values are live.

@msullivan msullivan changed the title Support yields while values are live [mypyc] Support yields while values are live Oct 21, 2023
Comment thread mypyc/ir/ops.py Outdated

@abstractmethod
def set_sources(self, new: list[Value]) -> None:
"""Rewrite the soruces of an op"""

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Typo: soruces

@JukkaL

JukkaL commented Jan 15, 2025

Copy link
Copy Markdown
Collaborator

@msullivan FYI, we are planning to complete this PR within the next month or so.

@JukkaL
JukkaL marked this pull request as ready for review April 16, 2025 15:18
@JukkaL
JukkaL merged commit c274971 into master Apr 22, 2025
@JukkaL
JukkaL deleted the yield-spillage branch April 22, 2025 09:20
@msullivan

Copy link
Copy Markdown
Collaborator Author

Fixes mypyc/mypyc#693

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.

3 participants