STINNER Victor <vstin...@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 <rep...@bugs.python.org> <https://bugs.python.org/issue36900> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com