diff options
author | Victor Stinner <vstinner@python.org> | 2020-01-24 09:22:18 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-24 09:22:18 (GMT) |
commit | b9783d2e035d2babe8fcd9ec109044c0002c18a2 (patch) | |
tree | 8ff79a1298440a3956717b92451df180388e1bc0 /Include | |
parent | e131c9720d087c0c4988bd2a5c62020feb9d1d77 (diff) | |
download | cpython-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.h | 8 |
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; |