KEMBAR78
[mypyc] Fix bad C generated for multiple assignment by JukkaL · Pull Request #13147 · python/mypy · GitHub
Skip to content

Conversation

JukkaL
Copy link
Collaborator

@JukkaL JukkaL commented Jul 16, 2022

We need to flush keep alives also after a multiple assignment, as otherwise
the generated IR will be badly formed and confuse the reference count transform.

Fixes mypyc/mypyc#942.

We need to flush keep alives also after a multiple assignment, as otherwise
the generated IR will be badly formed and confuse the reference count transform.

Fixes mypyc/mypyc#942.
@JukkaL JukkaL merged commit b13a450 into master Jul 16, 2022
@JukkaL JukkaL deleted the mypyc-generator branch July 16, 2022 15:16
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.

Bad code generated for a tuple assignment in a generator

2 participants