Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[0.970 backport] flush keepalives on operator assignment statements #13151

Merged
merged 1 commit into from
Jul 16, 2022

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
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants