Author nedbat
Recipients aldwinaldwin, miss-islington, ned.deily, nedbat, pablogsal, scoder, serhiy.storchaka, xtreak
Date 2019-07-05.20:40:58
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562359258.62.0.213302021691.issue37500@roundup.psfhosted.org>
In-reply-to
Content
I can see the logic of the argument that says the code exists, and should be measured.  But this is changing behavior that has been in place for at least 15 years.

Before this change, code could have had an unreported SyntaxError, but it was code that was being discarded by the optimizer anyway.  How many people are benefiting from those SyntaxErrors?  The only way the code would ever run is if they changed the "if 0:" to something else, at which point they would have seen the SyntaxErrors without this change.

If we keep this change, I will hear from people unhappy with the drop in their coverage measurement.  Have users of the language been complaining that they don't see SyntaxErrors in their optimized-away code?
History
Date User Action Args
2019-07-05 20:40:59nedbatsetrecipients: + nedbat, scoder, ned.deily, serhiy.storchaka, pablogsal, miss-islington, xtreak, aldwinaldwin
2019-07-05 20:40:58nedbatsetmessageid: <1562359258.62.0.213302021691.issue37500@roundup.psfhosted.org>
2019-07-05 20:40:58nedbatlinkissue37500 messages
2019-07-05 20:40:58nedbatcreate