[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-28 Thread STINNER Victor
STINNER Victor added the comment: New changeset 9ea277a788eabec102e8fe613b7f1e27995d5918 by Victor Stinner in branch 'master': bpo-36900: Fix compilation on HP-UX (GH-13614) https://github.com/python/cpython/commit/9ea277a788eabec102e8fe613b7f1e27995d5918 -- ___

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-28 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13517 pull_request: https://github.com/python/cpython/pull/13614 ___ Python tracker ___ __

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-14 Thread STINNER Victor
STINNER Victor added the comment: There are a few remaining usage of these global configuration variables, but it will be tricky to remove them: https://bugs.python.org/issue36900#msg342398 I consider that I'm done on this topic, so I close the issue. -- resolution: -> fixed stage:

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-14 Thread STINNER Victor
STINNER Victor added the comment: New changeset c96be811fa7da8ddcea18cc7abcae94e0f5ff966 by Victor Stinner in branch 'master': bpo-36900: Replace global conf vars with config (GH-13299) https://github.com/python/cpython/commit/c96be811fa7da8ddcea18cc7abcae94e0f5ff966 -- ___

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-13 Thread STINNER Victor
STINNER Victor 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_FdIsInterac

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-13 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +13210 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe: https://m

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-13 Thread STINNER Victor
STINNER Victor added the comment: New changeset 410b85a7f701be280eb15b0ca4fe116e86f1d008 by Victor Stinner in branch 'master': bpo-36900: import.c uses PyInterpreterState.core_config (GH-13278) https://github.com/python/cpython/commit/410b85a7f701be280eb15b0ca4fe116e86f1d008 -- ___

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +13184 stage: -> patch review ___ Python tracker ___ ___ Python-bugs-

[issue36900] Use _PyCoreConfig rather than global configuration variables

2019-05-13 Thread STINNER Victor
New submission from STINNER Victor : PyInterpreterState.config is now preferred over global configuration variables, so two interpreters can have a different configuration, the "state" of an interpreter is now better defined (especially when and how its configuration is set). Attached PRs fi