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

[3.7] bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071)#14073

Merged
pablogsal merged 1 commit into
python:3.7python/cpython:3.7from
pablogsal:backport-05f8318-3.7pablogsal/cpython:backport-05f8318-3.7Copy head branch name to clipboard
Jun 14, 2019
Merged

[3.7] bpo-37269: Correctly optimise conditionals with constant booleans (GH-14071)#14073
pablogsal merged 1 commit into
python:3.7python/cpython:3.7from
pablogsal:backport-05f8318-3.7pablogsal/cpython:backport-05f8318-3.7Copy head branch name to clipboard

Conversation

@pablogsal

@pablogsal pablogsal commented Jun 14, 2019

Copy link
Copy Markdown
Member

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

3 participants

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