[issue36900] Use _PyCoreConfig rather than global configuration variables
STINNER Victor
report at bugs.python.org
Mon May 13 19:03:35 EDT 2019
STINNER Victor <vstinner at redhat.com> added the comment:
With PR 13299, most global variable configurables are not directly accessed, outside code to initialize _PyPreConfig and _PyCoreConfig.
parser.c: Py_DebugFlag
fileutils.c: Py_UTF8Mode, Py_LegacyWindowsFSEncodingFlag
frozenmain.c: Py_VerboseFlag
Py_FdIsInteractive(): Py_InteractiveFlag
PySys_SetArgv(): Py_IsolatedFlag()
Py_GETENV(): Py_IsolatedFlag
The problem is that these files, functions and macros may be used before Python is initialized: before Python has an interpreter.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue36900>
_______________________________________
More information about the Python-bugs-list
mailing list