DAGDA SEARCH | Back to results | Support

Message 385040 - Python tracker

Source: https://bugs.python.org/msg385040

homepage

Message385040 ➜

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 stestagg
Recipients Mark.Shannon, Mohamed_Atef, ethan.furman, gregory.p.smith, gvanrossum, josh.r, pablogsal, serhiy.storchaka, stestagg
Date 2021-01-13.15:42:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1610552579.03.0.187739808354.issue42899@roundup.psfhosted.org>
In-reply-to
Content
Oops, sorry, didn't realise there were such rules.  

The reasoning for me making the change to the title is that that the original PR didn't mention skipping actual condition logic, but does mention skipping unreachable blocks, with the examples provided (either by accident or intent) showing cases where the condition was still included.

I thus assumed the change that has been implemented had bad unintended side-effects (a bug), so wanted to capture that and, if any consensus on allowing the optimizer to skip bool() calls is ever reached on the mailing list, an explicit issue would be raised to cover that change.
History
Date User Action Args
2021-01-13 15:42:59stestaggsetrecipients: + stestagg, gvanrossum, gregory.p.smith, ethan.furman, Mark.Shannon, serhiy.storchaka, josh.r, Mohamed_Atef, pablogsal
2021-01-13 15:42:59stestaggsetmessageid: <1610552579.03.0.187739808354.issue42899@roundup.psfhosted.org>
2021-01-13 15:42:59stestagglinkissue42899 messages
2021-01-13 15:42:58stestaggcreate
Supported by The Python Software Foundation,
Powered by Roundup Copyright © 1990-2022, Python Software Foundation
Legal Statements