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 barry
Recipients barry, brett.cannon, christian.heimes, eric.smith, eric.snow, ethan smith, takluyver
Date 2018-06-22.22:25:22
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1529706322.99.0.56676864532.issue33944@psf.upfronthosting.co.za>
In-reply-to
Content
There are lots of problems with pth files, although arbitrary code execution is probably the most egregious.  They are also notoriously difficult to debug, and happen before any control is given to user code.  They certainly are unnecessary for namespace packages, which I think they currently get used for often in Py 2/3 straddling code.

Maybe it will be okay to just fall back to sys.path extension, but I'd like to have a better understanding of exactly what the use cases are (in a pure Python 3 world), and we have to address the other problems about discovery and debuggability.
History
Date User Action Args
2018-06-22 22:25:23barrysetrecipients: + barry, brett.cannon, eric.smith, christian.heimes, eric.snow, takluyver, ethan smith
2018-06-22 22:25:22barrysetmessageid: <1529706322.99.0.56676864532.issue33944@psf.upfronthosting.co.za>
2018-06-22 22:25:22barrylinkissue33944 messages
2018-06-22 22:25:22barrycreate