[issue33944] Deprecate and remove pth files

Steve Dower report at bugs.python.org
Fri Mar 1 22:58:43 EST 2019


Steve Dower <steve.dower at python.org> added the comment:

Barry's response in https://bugs.python.org/issue33944#msg336970 is exactly what my response to that point was going to be.

Just because I want to use package spam and it wants to use package eggs doesn't mean that eggs gets to enable cloud imports (or anything else similarly magical) automatically. If I want that, it can provide it and tell me to call it in my code, or it can do it when needed. Neither of those options require arbitrary code execution in a .pth file.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue33944>
_______________________________________


More information about the Python-bugs-list mailing list