This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author vstinner
Recipients vstinner
Date 2019-05-13.23:03:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1557788615.26.0.822558939257.issue36900@roundup.psfhosted.org>
In-reply-to
Content
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.
History
Date User Action Args
2019-05-13 23:03:35vstinnersetrecipients: + vstinner
2019-05-13 23:03:35vstinnersetmessageid: <1557788615.26.0.822558939257.issue36900@roundup.psfhosted.org>
2019-05-13 23:03:35vstinnerlinkissue36900 messages
2019-05-13 23:03:35vstinnercreate