Skip to content

Conversation

@markshannon
Copy link
Member

@markshannon markshannon commented Feb 15, 2022

Backport of GH-31326, plus supporting code from 3.11.

Backports the whole normalize_jumps() function from 3.11, as that seems the cleanest way to do this.
Consequently this PR also converts forward JUMP_ABSOLUTE to JUMP_FORWARD, which should be harmless.

https://bugs.python.org/issue46724

Backport of GH-31326, plus supporting code from 3.11.
@markshannon markshannon changed the title bpo-46724: Use JUMP_ABSOLUTE for all backward jumps. (GH-31326) [3.10] bpo-46724: Use JUMP_ABSOLUTE for all backward jumps. (GH-31326) Feb 15, 2022
@pablogsal
Copy link
Member

LGTM

Thanks for the backport @markshannon

@markshannon markshannon merged commit d4e4ef1 into 3.10 Feb 16, 2022
@markshannon markshannon deleted the backport-3be1a44-3.10 branch February 16, 2022 11:26
@saulshanabrook saulshanabrook mannequin mentioned this pull request Jul 9, 2022
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.

5 participants