bpo-37269: Correctly optimize constant conditionals of binops by pablogsal · Pull Request #14071 · python/cpython

@pablogsal

@pablogsal self-assigned this

Jun 14, 2019

pablogsal added a commit to pablogsal/cpython that referenced this pull request

Jun 14, 2019
…ns (pythonGH-14071)

Fix a regression introduced by af8646c that was causing code of the form:

if True and False:
   do_something()

to be optimized incorrectly, eliminating the block..
(cherry picked from commit 05f8318)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

miss-islington added a commit that referenced this pull request

Jun 14, 2019
…-14071)

Fix a regression introduced by af8646c that was causing code of the form:

if True and False:
   do_something()

to be optimized incorrectly, eliminating the block.
(cherry picked from commit 05f8318)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

pablogsal added a commit that referenced this pull request

Jun 14, 2019
…ns (GH-14071) (GH-14073)

Fix a regression introduced by af8646c that was causing code of the form:

if True and False:
   do_something()

to be optimized incorrectly, eliminating the block..
(cherry picked from commit 05f8318)

Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>

lisroach pushed a commit to lisroach/cpython that referenced this pull request

Sep 10, 2019
…thonGH-14071)

Fix a regression introduced by af8646c that was causing code of the form:

if True and False:
   do_something()

to be optimized incorrectly, eliminating the block.

DinoV pushed a commit to DinoV/cpython that referenced this pull request

Jan 14, 2020
…thonGH-14071)

Fix a regression introduced by af8646c that was causing code of the form:

if True and False:
   do_something()

to be optimized incorrectly, eliminating the block.