]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-29469: Remove unnecessary peephole optimizer (GH-4863)
authorINADA Naoki <methane@users.noreply.github.com>
Thu, 14 Dec 2017 13:18:26 +0000 (22:18 +0900)
committerGitHub <noreply@github.com>
Thu, 14 Dec 2017 13:18:26 +0000 (22:18 +0900)
commiteadad1b97f64619bfd246b9d3b60d25f456e0592
tree36a99ea393b12c0ab753ed29d412fc6fdf7d73d2
parent374c6e178a7599aae46c857b17c6c8bc19dfe4c2
bpo-29469: Remove unnecessary peephole optimizer (GH-4863)

Conversions like `not a is b -> a is not b` are implemented
in AST optimizer in previous commit (7ea143a).
So this commit removes them from peephole optimizer.
Python/peephole.c