Skip to content

[3.8] bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969)#14063

Merged
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-3498c64-3.8
Jun 13, 2019
Merged

[3.8] bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969)#14063
miss-islington merged 1 commit intopython:3.8from
miss-islington:backport-3498c64-3.8

Conversation

@miss-islington
Copy link
Contributor

@miss-islington miss-islington commented Jun 13, 2019

The peephole optimizer was not optimizing correctly bytecode after negative deltas were introduced. This is due to the fact that some special values (255) were being searched for in both instruction pointer delta and line number deltas.
(cherry picked from commit 3498c64)

Co-authored-by: Pablo Galindo [email protected]

https://bugs.python.org/issue37213

…mizer (pythonGH-13969)

The peephole optimizer was not optimizing correctly bytecode after negative deltas were introduced. This is due to the fact that some special values (255) were being searched for in both instruction pointer delta and line number deltas.
(cherry picked from commit 3498c64)

Co-authored-by: Pablo Galindo <[email protected]>
@miss-islington
Copy link
Contributor Author

@pablogsal: Status check is done, and it's a success ✅ .

@miss-islington miss-islington merged commit 5282b3b into python:3.8 Jun 13, 2019
@miss-islington miss-islington deleted the backport-3498c64-3.8 branch June 13, 2019 18:36
@miss-islington
Copy link
Contributor Author

@pablogsal: Status check is done, and it's a success ✅ .

1 similar comment
@miss-islington
Copy link
Contributor Author

@pablogsal: Status check is done, and it's a success ✅ .

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.

4 participants