Comment by throwaway314155
2 days ago
I imagine it has more to do with whether or not the file appears to have executable python code in it, as a .pth file is usually just a a pickled python object and these can be manipulated to load arbitrary python code when loaded.
No comments yet
Contribute on Hacker News ↗