summaryrefslogtreecommitdiffstats
path: root/Include
diff options
context:
space:
mode:
authorVictor Stinner <vstinner@python.org>2020-01-24 09:22:18 (GMT)
committerGitHub <noreply@github.com>2020-01-24 09:22:18 (GMT)
commitb9783d2e035d2babe8fcd9ec109044c0002c18a2 (patch)
tree8ff79a1298440a3956717b92451df180388e1bc0 /Include
parente131c9720d087c0c4988bd2a5c62020feb9d1d77 (diff)
downloadcpython-b9783d2e035d2babe8fcd9ec109044c0002c18a2.zip
cpython-b9783d2e035d2babe8fcd9ec109044c0002c18a2.tar.gz
cpython-b9783d2e035d2babe8fcd9ec109044c0002c18a2.tar.bz2
bpo-39429: Add a new "Python Development Mode" doc page (GH-18132)
Diffstat (limited to 'Include')
-rw-r--r--Include/cpython/initconfig.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/Include/cpython/initconfig.h b/Include/cpython/initconfig.h
index 4b5ceaf..54e6623 100644
--- a/Include/cpython/initconfig.h
+++ b/Include/cpython/initconfig.h
@@ -113,7 +113,11 @@ typedef struct {
"POSIX", otherwise it is set to 0. Inherit Py_UTF8Mode value value. */
int utf8_mode;
- int dev_mode; /* Development mode. PYTHONDEVMODE, -X dev */
+ /* If non-zero, enable the Python Development Mode.
+
+ Set to 1 by the -X dev command line option. Set by the PYTHONDEVMODE
+ environment variable. */
+ int dev_mode;
/* Memory allocator: PYTHONMALLOC env var.
See PyMemAllocatorName for valid values. */
@@ -131,7 +135,7 @@ typedef struct {
int isolated; /* Isolated mode? see PyPreConfig.isolated */
int use_environment; /* Use environment variables? see PyPreConfig.use_environment */
- int dev_mode; /* Development mode? See PyPreConfig.dev_mode */
+ int dev_mode; /* Python Development Mode? See PyPreConfig.dev_mode */
/* Install signal handlers? Yes by default. */
int install_signal_handlers;