Author ethan.furman
Recipients Mark.Shannon, Mohamed_Atef, ethan.furman, gregory.p.smith, gvanrossum, pablogsal, serhiy.storchaka, stestagg
Date 2021-01-12.16:28:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
If an optimization changes semantics it's not an optimization.

In  `if x: pass` how do we know `x` is falsely without calling `bool()` on it?


On a slightly different note, in the code:

    if a and b:

why is `bool(a)` called twice?
Date User Action Args
2021-01-12 16:28:22ethan.furmansetrecipients: + ethan.furman, gvanrossum, gregory.p.smith, Mark.Shannon, serhiy.storchaka, Mohamed_Atef, pablogsal, stestagg
2021-01-12 16:28:22ethan.furmansetmessageid: <>
2021-01-12 16:28:22ethan.furmanlinkissue42899 messages
2021-01-12 16:28:22ethan.furmancreate