From: Miss Islington (bot) <31488909+miss-islington@users.noreply.github.com> Date: Sun, 7 Oct 2018 16:18:20 +0000 (-0700) Subject: bpo-34901: add isolated (-I) flag to sys.flags (GH-9708) X-Git-Tag: v3.7.1rc2~15 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c59e75ccf0ea8d882738214e0385f41eed51e3c7;p=thirdparty%2FPython%2Fcpython.git bpo-34901: add isolated (-I) flag to sys.flags (GH-9708) https://bugs.python.org/issue34901 (cherry picked from commit 656d52dbfde3223cd2a3525d652b6cccb02fa991) Co-authored-by: Danish Prakash --- diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst index 6e0097ef1f8b..a04d957447a8 100644 --- a/Doc/library/sys.rst +++ b/Doc/library/sys.rst @@ -325,6 +325,7 @@ always available. :const:`debug` :option:`-d` :const:`inspect` :option:`-i` :const:`interactive` :option:`-i` + :const:`isolated` :option:`-I` :const:`optimize` :option:`-O` or :option:`-OO` :const:`dont_write_bytecode` :option:`-B` :const:`no_user_site` :option:`-s` @@ -347,6 +348,9 @@ always available. .. versionchanged:: 3.3 Removed obsolete ``division_warning`` attribute. + .. versionchanged:: 3.4 + Added ``isolated`` attribute for :option:`-I` ``isolated`` flag. + .. versionchanged:: 3.7 Added ``dev_mode`` attribute for the new :option:`-X` ``dev`` flag and ``utf8_mode`` attribute for the new :option:`-X` ``utf8`` flag.