◐ Shell
reader mode source ↗
Skip to content
Merged
Changes from all commits
File filter
Conversations
Jump to
Diff view
Apply and reload
Show whitespace
Diff view
Apply and reload
16 changes: 13 additions & 3 deletions Include/cpython/coreconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,12 @@ typedef struct {

/* --- _PyPreConfig ----------------------------------------------- */

typedef struct {
/* If greater than 0, enable isolated mode: sys.path contains
neither the script's directory nor the user's site-packages directory.

Expand Down Expand Up @@ -132,6 +137,7 @@ typedef struct {
#define _PyPreConfig_INIT \
(_PyPreConfig){ \
_PyPreConfig_WINDOWS_INIT \
.isolated = -1, \
.use_environment = -1, \
.dev_mode = -1, \
Expand All @@ -141,9 +147,12 @@ typedef struct {
/* --- _PyCoreConfig ---------------------------------------------- */

typedef struct {
int isolated;
int use_environment;
int dev_mode;

/* Install signal handlers? Yes by default. */
int install_signal_handlers;
Expand Down Expand Up @@ -397,6 +406,7 @@ typedef struct {
#define _PyCoreConfig_INIT \
(_PyCoreConfig){ \
_PyCoreConfig_WINDOWS_INIT \
.isolated = -1, \
.use_environment = -1, \
.dev_mode = -1, \
Expand Down
Toggle all file notes Toggle all file annotations