bpo-36763: Add _PyCoreConfig._config_version by vstinner · Pull Request #13065 · python/cpython
/* --- _PyPreConfig ----------------------------------------------- */
#define _Py_CONFIG_VERSION 1
typedef struct { int _config_version; /* Internal configuration version, used for ABI compatibility */
/* If greater than 0, enable isolated mode: sys.path contains neither the script's directory nor the user's site-packages directory.
typedef struct { int isolated; int use_environment; int dev_mode; int _config_version; /* Internal configuration version, used for ABI compatibility */
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 */
/* Install signal handlers? Yes by default. */ int install_signal_handlers;