Ionel Cristian Mărieș <cont...@ionelmc.ro> added the comment: On Wed, Feb 27, 2019 at 1:41 AM Barry A. Warsaw <rep...@bugs.python.org> wrote: > Basically yes, I’ve done this. But think of the poor user who doesn’t have that expertise or ability to hack on an installed Python’s site.py file. When their application breaks because some faulty pth was installed behind their back, how do they debug their application when the breakage has already occurred before Python even gets to their code? How do they answer questions like “where did that magical sys.path entry come from?” or “how did that module get in sys.modules already?”
Aren't these sort of questions answered by using `strace python -v` or similar? What information is missing more exactly? ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue33944> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com