Message337430
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. |
|
Date |
User |
Action |
Args |
2019-03-07 19:39:53 | steve.dower | set | recipients:
+ 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:53 | steve.dower | set | messageid: <1551987593.18.0.753645426191.issue33944@roundup.psfhosted.org> |
2019-03-07 19:39:53 | steve.dower | link | issue33944 messages |
2019-03-07 19:39:53 | steve.dower | create | |
|