bpo-37289: Remove 'if False' handling in the peephole optimizer by pablogsal · Pull Request #14099 · python/cpython
Conversation
pablogsal
changed the title
Remove 'if False' handling in the peephole optimizer
bpo-37289; Remove 'if False' handling in the peephole optimizer
pablogsal
changed the title
bpo-37289; Remove 'if False' handling in the peephole optimizer
bpo-37289: Remove 'if False' handling in the peephole optimizer
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What if PyObject_IsTrue() returns -1?
@serhiy-storchaka It goes to the break and skips to the next bytecode, right? I am missing something?
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8.
🐍🍒⛏🤖
I'm having trouble backporting to 3.8. Reason: 'Error 110 while writing to socket. Connection timed out.'. Please retry by removing and re-adding the needs backport to 3.8 label.
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request
…onGH-14099) (cherry picked from commit 7a68f8c) Co-authored-by: Pablo Galindo <Pablogsal@gmail.com>
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.8.
🐍🍒⛏🤖
pablogsal added a commit that referenced this pull request
pablogsal added a commit that referenced this pull request