bpo-37289: Remove 'if False' handling in the peephole optimizer#14099
bpo-37289: Remove 'if False' handling in the peephole optimizer#14099pablogsal merged 2 commits into
Conversation
serhiy-storchaka
left a comment
There was a problem hiding this comment.
What if PyObject_IsTrue() returns -1?
Sorry, something went wrong.
|
@serhiy-storchaka It goes to the break and skips to the next bytecode, right? I am missing something? |
Sorry, something went wrong.
|
It should be handled as an error. |
Sorry, something went wrong.
|
Thanks @pablogsal for the PR 🌮🎉.. I'm working now to backport this PR to: 3.7, 3.8. |
Sorry, something went wrong.
|
I'm having trouble backporting to |
Sorry, something went wrong.
…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. |
Sorry, something went wrong.
https://bugs.python.org/issue37289