Author steve.dower
Recipients Anthony Sottile, Chris Billington, Ethan Smith, Ivan.Pozdeev, Peter L3, SilentGhost, __Vano, barry, brett.cannon, cheryl.sabella, christian.heimes, eric.smith, eric.snow, ionelmc, jaraco, mhammond, ncoghlan, pitrou, steve.dower, takluyver, terry.reedy, veky
Date 2019-03-07.19:39:53
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551987593.18.0.753645426191.issue33944@roundup.psfhosted.org>
In-reply-to
Content
Nonetheless, it's still something that we could support better. If telling someone to set PYTHONSTARTUP is too hard, then we can design another way that can work well without relying on a barely documented (mis)feature.

As one idea, we could add a way to register new -X options that would translate into an import/function call after doing site, which then means you could do "python -X coverage ..." and if you don't then you don't get code injected at all, regardless of bugs in any libraries you've installed.
History
Date User Action Args
2019-03-07 19:39:53steve.dowersetrecipients: + steve.dower, mhammond, barry, brett.cannon, terry.reedy, jaraco, ncoghlan, pitrou, eric.smith, christian.heimes, ionelmc, SilentGhost, __Vano, eric.snow, takluyver, veky, Ivan.Pozdeev, Anthony Sottile, Ethan Smith, cheryl.sabella, Chris Billington, Peter L3
2019-03-07 19:39:53steve.dowersetmessageid: <1551987593.18.0.753645426191.issue33944@roundup.psfhosted.org>
2019-03-07 19:39:53steve.dowerlinkissue33944 messages
2019-03-07 19:39:53steve.dowercreate