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

Stephan Houben stephanh42 at gmail.com
Mon Jun 5 06:06:45 EDT 2017


What about doing it on the systems which *do* support it?

(Which probably covers 99% of the installed base...)

Stephan

Op 5 jun. 2017 11:59 schreef "Greg Ewing" <greg.ewing at canterbury.ac.nz>:

> Stephan Houben wrote:
>
>> What about just adding the -I (isolated mode) flag to the #! line of
>> installed scripts?
>>
>
> Not all unix systems support passing extra arguments on a #! line.
>
> --
> Greg
> _______________________________________________
> Python-ideas mailing list
> Python-ideas at python.org
> https://mail.python.org/mailman/listinfo/python-ideas
> Code of Conduct: http://python.org/psf/codeofconduct/
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20170605/1b2a16be/attachment.html>


More information about the Python-ideas mailing list