◐ Shell
clean mode source ↗

bpo-32030: Add _PyMainInterpreterConfig.pythonhome by vstinner · Pull Request #4513 · python/cpython

* Py_Main() now reads the PYTHONHOME environment variable
* Add _Py_GetPythonHomeWithConfig() private function
* init_filters() doesn't get the current core configuration from the
  current interpreter or Python thread anymore. Pass explicitly the
  configuration to _PyWarnings_InitWithConfig().
* _Py_InitializeCore() now fails on _PyWarnings_InitWithConfig()
  failure.
* Pass configuration as constant

@ncoghlan ncoghlan changed the title bpo-32030: Add _PyCoreConfig.pythonhome bpo-32030: Add _PyMainInterpreterConfig.pythonhome

Nov 23, 2017

ncoghlan