[Python-ideas] Security: remove "." from sys.path?

Victor Stinner victor.stinner at gmail.com
Fri Jun 2 06:02:28 EDT 2017


2017-06-02 9:12 GMT+02:00 Greg Ewing <greg.ewing at canterbury.ac.nz>:
> Why do you want to change it?

To make Python more secure. To prevent untrusted modules hijacking
stdlib modules on purpose to inject code for example.

Victor


More information about the Python-ideas mailing list