commit | 05f831865545b08c9a21cfb7773af58b76ec64cb | [log] [tgz] |
---|---|---|
author | Pablo Galindo <Pablogsal@gmail.com> | Fri Jun 14 06:54:53 2019 +0100 |
committer | GitHub <noreply@github.com> | Fri Jun 14 06:54:53 2019 +0100 |
tree | 439a8f94ee9aca75bf386902ace8b04eaa8fa0e9 | |
parent | d0eeb936d8daf05d7d89f6935e3f4c0dee49c5be [diff] |
bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071) Fix a regression introduced by af8646c8054d0f4180a2013383039b6a472f9698 that was causing code of the form: if True and False: do_something() to be optimized incorrectly, eliminating the block.