Skip to content

Conversation

@hauntsaninja
Copy link
Collaborator

Backport of #13144

This PR makes mypyc flush keepalives on operator assignment statements, to prevent accessing undefined variables in the generated C code.

Fixes mypyc/mypyc#941.
@ilevkivskyi ilevkivskyi merged commit ee10d29 into python:release-0.970 Jul 16, 2022
@hauntsaninja hauntsaninja deleted the bp0970-keepalive branch July 16, 2022 16:35
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