This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author serhiy.storchaka
Recipients Mark.Shannon, Mohamed_Atef, gregory.p.smith, gvanrossum, pablogsal, serhiy.storchaka, stestagg
Date 2021-01-12.12:23:48
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610454228.78.0.583279629608.issue42899@roundup.psfhosted.org>
In-reply-to
Content
Thank you Steve. Yes, this is what I meant. "if a and b" is so common that we sacrifice literal translation for the sake of performance.

"if" with an empty block looks pretty uncommon to me. It is not worth to optimize this case specially (especially if it changes semantic). What are real world examples for which it makes sense to replace POP_JUMP_IF_FALSE with POP_TOP?
History
Date User Action Args
2021-01-12 12:23:48serhiy.storchakasetrecipients: + serhiy.storchaka, gvanrossum, gregory.p.smith, Mark.Shannon, Mohamed_Atef, pablogsal, stestagg
2021-01-12 12:23:48serhiy.storchakasetmessageid: <1610454228.78.0.583279629608.issue42899@roundup.psfhosted.org>
2021-01-12 12:23:48serhiy.storchakalinkissue42899 messages
2021-01-12 12:23:48serhiy.storchakacreate