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 <1610551761.44.0.680008074442.issue42899@roundup.psfhosted.org>
In-reply-to
Content
Steve,
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.
History
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: <1610551761.44.0.680008074442.issue42899@roundup.psfhosted.org>
2021-01-13 15:29:21Mark.Shannonlinkissue42899 messages
2021-01-13 15:29:21Mark.Shannoncreate