[Python-checkins] bpo-34901: add isolated (-I) flag to sys.flags (GH-9708)

Miss Islington (bot) webhook-mailer at python.org
Sun Oct 7 12:12:42 EDT 2018


https://github.com/python/cpython/commit/656d52dbfde3223cd2a3525d652b6cccb02fa991
commit: 656d52dbfde3223cd2a3525d652b6cccb02fa991
branch: master
author: Danish Prakash <grafitykoncept at gmail.com>
committer: Miss Islington (bot) <31488909+miss-islington at users.noreply.github.com>
date: 2018-10-07T09:12:31-07:00
summary:

bpo-34901: add isolated (-I) flag to sys.flags (GH-9708)



https://bugs.python.org/issue34901

files:
M Doc/library/sys.rst

diff --git a/Doc/library/sys.rst b/Doc/library/sys.rst
index 9b10738c64e4..cd43e541f13e 100644
--- a/Doc/library/sys.rst
+++ b/Doc/library/sys.rst
@@ -345,6 +345,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`
@@ -367,6 +368,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.



More information about the Python-checkins mailing list