[3.8] bpo-37213: Handle negative line deltas correctly in the peephole optimizer (GH-13969) by miss-islington · Pull Request #14063 · python/cpython

@pablogsal @miss-islington

…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 <Pablogsal@gmail.com>

pablogsal