Author ncoghlan
Recipients Tim.Graham, abarry, eric.smith, martin.panter, ncoghlan, ned.deily, r.david.murray, rhettinger, serhiy.storchaka, yan12125, yselivanov
Date 2016-10-03.17:13:28
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1475514808.19.0.758584089997.issue28128@psf.upfronthosting.co.za>
In-reply-to
Content
Eric's basic approach sounds fine to me, as it gets the traceback in the right place (i.e. blaming the code being compiled, not the code doing the import).

For beta 2, how about we just go with a plain SyntaxWarning? Since users running pre-compiled modules won't see it regardless, so it will be effectively silenced by default for end users of pre-built Python applications.
History
Date User Action Args
2016-10-03 17:13:28ncoghlansetrecipients: + ncoghlan, rhettinger, eric.smith, ned.deily, r.david.murray, martin.panter, serhiy.storchaka, yselivanov, Tim.Graham, yan12125, abarry
2016-10-03 17:13:28ncoghlansetmessageid: <1475514808.19.0.758584089997.issue28128@psf.upfronthosting.co.za>
2016-10-03 17:13:28ncoghlanlinkissue28128 messages
2016-10-03 17:13:28ncoghlancreate