[issue32324] [Security] "python3 directory" inserts "directory" at sys.path[0] even in isolated mode

STINNER Victor report at bugs.python.org
Thu Dec 14 11:23:30 EST 2017


STINNER Victor <victor.stinner at gmail.com> added the comment:

See also https://github.com/python/cpython/pull/4868 : I propose a change to factorize the code, but the side effect is that sys.path is now modified before "import readline" (when using the -i option, like "python3 -i directory").

----------

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


More information about the Python-bugs-list mailing list