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 steve.dower
Recipients Anthony Sottile, Chris Billington, Ivan.Pozdeev, Peter L3, SilentGhost, __Vano, barry, brett.cannon, cheryl.sabella, christian.heimes, eric.smith, eric.snow, ethan smith, ionelmc, jaraco, mhammond, ncoghlan, pitrou, steve.dower, takluyver, terry.reedy, veky
Date 2019-02-28.17:27:51
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1551374871.7.0.994355708941.issue33944@roundup.psfhosted.org>
In-reply-to
Content
> But think of the poor user who doesn’t have that expertise or ability to hack on an installed Python’s site.py file.

This is actually part of the thinking behind the reportabug tool I started (and why when you format it as raw text you get the listing of everything in any directory on sys.path - mostly because I haven't added a Markdown rendering of that). If the answer is to enhance that and tell users "run `reportabug mybrokenmodule` and send me the output", well, that's why I put it on GitHub :) https://github.com/zooba/reportabug

I see no reason to hold up adding pth logging to -v, so anyone interested please feel free to do a PR.

The only reason I see to hold up PE 10131 (docs update) is because it documents the rationale for using arbitrary code execution in a pth file. Since we clearly want to get rid of it, I don't think we should in any way rationalize it in the docs.

Once these are done, I think we'll have to reevaluate whether .pth files are actually a problem in their normal behavior, and whether the benefit outweighs the cost. But since we're all agreed that they aren't easy to debug and contain features we all want to get rid of, there's not much point using the current state to do the cost/benefit analysis. Let's fix the bits we can fix first and then see where we stand.
History
Date User Action Args
2019-02-28 17:27:51steve.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-02-28 17:27:51steve.dowersetmessageid: <1551374871.7.0.994355708941.issue33944@roundup.psfhosted.org>
2019-02-28 17:27:51steve.dowerlinkissue33944 messages
2019-02-28 17:27:51steve.dowercreate