Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

bpo-37269: Correctly optimize constant conditionals of binops#14071

Merged
pablogsal merged 4 commits into
python:masterpython/cpython:masterfrom
pablogsal:bpo37269pablogsal/cpython:bpo37269Copy head branch name to clipboard
Jun 14, 2019
Merged

bpo-37269: Correctly optimize constant conditionals of binops#14071
pablogsal merged 4 commits into
python:masterpython/cpython:masterfrom
pablogsal:bpo37269pablogsal/cpython:bpo37269Copy head branch name to clipboard

Conversation

@pablogsal

@pablogsal pablogsal commented Jun 14, 2019

Copy link
Copy Markdown
Member

@pablogsal pablogsal merged commit 05f8318 into python:master Jun 14, 2019
@miss-islington

Copy link
Copy Markdown
Contributor

Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖

@bedevere-bot

Copy link
Copy Markdown

GH-14072 is a backport of this pull request to the 3.8 branch.

@miss-islington

Copy link
Copy Markdown
Contributor

Sorry, @pablogsal, I could not cleanly backport this to 3.7 due to a conflict.
Please backport using cherry_picker on command line.
cherry_picker 05f831865545b08c9a21cfb7773af58b76ec64cb 3.7

@bedevere-bot

Copy link
Copy Markdown

GH-14073 is a backport of this pull request to the 3.7 branch.

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.
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

Morty Proxy This is a proxified and sanitized view of the page, visit original site.