Skip to content

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Jan 10, 2022

The fix is trivial, just remove the spurious ADDOP_I(c, RESUME, 0) before the lamdba.

The bulk of the change is moving compiler_enter_scope and compiler_exit_scope so that the initial RESUME 0 for each scope can be emitted in compiler_enter_scope avoiding duplication.

https://bugs.python.org/issue46314

@markshannon
Copy link
Member Author

Skipping NEWS as this bug is not present in any release, even an alpha release.

@markshannon markshannon merged commit ec0c392 into python:main Jan 10, 2022
@markshannon markshannon deleted the fix-46314 branch January 10, 2022 15:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants