[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-22 Thread STINNER Victor
STINNER Victor added the comment: I has been decided to not backport the change to Python 3.7: see PR 10532 discusssion. -- ___ Python tracker ___

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-22 Thread STINNER Victor
STINNER Victor added the comment: New changeset a5194115733f6ca8fc1ddbee43eabbde536900e6 by Victor Stinner in branch '3.7': Revert "bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532)" (GH-10660) https://github.com/python/cpython/commit/a5194115733f6ca8fc1ddbee43eabbde536900e6

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-22 Thread STINNER Victor
Change by STINNER Victor : -- pull_requests: +9913 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-16 Thread STINNER Victor
Change by STINNER Victor : -- resolution: -> fixed stage: patch review -> resolved status: open -> closed ___ Python tracker ___

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-16 Thread miss-islington
miss-islington added the comment: New changeset d2be9a5c13221fb84c2221bbfd93efac6111e697 by Miss Islington (bot) in branch '3.7': bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532) https://github.com/python/cpython/commit/d2be9a5c13221fb84c2221bbfd93efac6111e697 --

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-16 Thread miss-islington
Change by miss-islington : -- pull_requests: +9815 ___ Python tracker ___ ___ Python-bugs-list mailing list Unsubscribe:

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-16 Thread STINNER Victor
STINNER Victor added the comment: New changeset 37cd982df02795905886ab36a2378ed557cb6f60 by Victor Stinner in branch 'master': bpo-35239: _PySys_EndInit() copies module_search_path (GH-10532) https://github.com/python/cpython/commit/37cd982df02795905886ab36a2378ed557cb6f60 --

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-14 Thread STINNER Victor
STINNER Victor added the comment: Python has 3 kind of configurations: * global configuration variables like Py_VerboseFlag * core configuration: _PyCoreConfig * main interpreter configuration: _PyMainInterpreterConfig I tried to keep them consistency. Yesterday, I rewrote

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
STINNER Victor added the comment: Attached PR 10532 modifies _PySys_EndInit() to copy lists and dictionaries from the config. -- ___ Python tracker ___

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
Change by STINNER Victor : -- keywords: +patch pull_requests: +9786 stage: -> patch review ___ Python tracker ___ ___

[issue35239] _PySys_EndInit() doesn't copy main interpreter configuration

2018-11-13 Thread STINNER Victor
New submission from STINNER Victor : Extract of _PySys_EndInit(): SET_SYS_FROM_STRING_BORROW("path", config->module_search_path); sys.path is initialized from _PyMainInterpreterConfig.module_search_path object: the list of strings is not copied. As a consequence, when sys.path is modified,