Skip to content

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

Merged
ilevkivskyi merged 1 commit intopython:release-0.970from
hauntsaninja:bp0970-keepalive
Jul 16, 2022
Merged

[0.970 backport] flush keepalives on operator assignment statements#13151
ilevkivskyi merged 1 commit intopython:release-0.970from
hauntsaninja:bp0970-keepalive

Conversation

@hauntsaninja
Copy link
Copy Markdown
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