Author Mark.Shannon
Recipients Mark.Shannon, Mohamed_Atef, ethan.furman, gregory.p.smith, gvanrossum, josh.r, pablogsal, serhiy.storchaka, stestagg
Date 2021-01-13.15:29:21
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
Please don't change the title of the issue.

Sure, the optimizer is "inconsistent".
Optimizations are applied in some cases, and not in others.
That's just how compilers work.

The issue here is whether the optimizer is allowed to skip the call to __bool__() if the result doesn't effect the observable effect of running the program.
Date User Action Args
2021-01-13 15:29:21Mark.Shannonsetrecipients: + Mark.Shannon, gvanrossum, gregory.p.smith, ethan.furman, serhiy.storchaka, josh.r, Mohamed_Atef, pablogsal, stestagg
2021-01-13 15:29:21Mark.Shannonsetmessageid: <>
2021-01-13 15:29:21Mark.Shannonlinkissue42899 messages
2021-01-13 15:29:21Mark.Shannoncreate