summaryrefslogtreecommitdiffstats
path: root/Doc/whatsnew/3.7.rst
diff options
context:
space:
mode:
authorVictor Stinner <victor.stinner@gmail.com>2017-11-30 10:40:24 (GMT)
committerGitHub <noreply@github.com>2017-11-30 10:40:24 (GMT)
commit5e3806f8cfd84722fc55d4299dc018ad9b0f8401 (patch)
tree436f0a963001f590a1193dba5c84627ba59513c2 /Doc/whatsnew/3.7.rst
parent706e10b186992e086e661a62d2c8ec9588525b31 (diff)
downloadcpython-5e3806f8cfd84722fc55d4299dc018ad9b0f8401.zip
cpython-5e3806f8cfd84722fc55d4299dc018ad9b0f8401.tar.gz
cpython-5e3806f8cfd84722fc55d4299dc018ad9b0f8401.tar.bz2
bpo-32101: Add PYTHONDEVMODE environment variable (#4624)
* bpo-32101: Add sys.flags.dev_mode flag Rename also the "Developer mode" to the "Development mode". * bpo-32101: Add PYTHONDEVMODE environment variable Mention it in the development chapiter.
Diffstat (limited to 'Doc/whatsnew/3.7.rst')
-rw-r--r--Doc/whatsnew/3.7.rst11
1 files changed, 8 insertions, 3 deletions
diff --git a/Doc/whatsnew/3.7.rst b/Doc/whatsnew/3.7.rst
index 5c00159..6545a18 100644
--- a/Doc/whatsnew/3.7.rst
+++ b/Doc/whatsnew/3.7.rst
@@ -185,10 +185,10 @@ resolution on Linux and Windows.
PEP written and implemented by Victor Stinner
-New Developer Mode: -X dev
---------------------------
+New Development Mode: -X dev
+----------------------------
-Add a new "developer mode": ``-X dev`` command line option to enable debug
+Add a new "development mode": ``-X dev`` command line option to enable debug
checks at runtime.
In short, ``python3 -X dev ...`` behaves as ``PYTHONMALLOC=debug python3 -W
@@ -371,6 +371,11 @@ string
expression pattern for braced placeholders and non-braced placeholders
separately. (Contributed by Barry Warsaw in :issue:`1198569`.)
+sys
+---
+
+Added :attr:`sys.flags.dev_mode` flag for the new development mode.
+
time
----