E517 cpython/Doc/library/security_warnings.rst at 3.11 · python/cpython · GitHub
[go: up one dir, main page]

Skip to content

Latest commit

 

History

History
40 lines (35 loc) · 1.88 KB

File metadata and controls

40 lines (35 loc) · 1.88 KB
.. index:: single: security considerations

Security Considerations

The following modules have specific security considerations:

The :option:`-I` command line option can be used to run Python in isolated mode. When it cannot be used, the :option:`-P` option or the :envvar:`PYTHONSAFEPATH` environment variable can be used to not prepend a potentially unsafe path to :data:`sys.path` such as the current directory, the script's directory or an empty string.

0