diff options
author | Victor Stinner <vstinner@redhat.com> | 2019-03-27 00:36:16 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-03-27 00:36:16 (GMT) |
commit | 8b9dbc017a190d13f717e714630d620adb7c7ac2 (patch) | |
tree | aec94454c3d4ee9f96f19d98eb64a9a9c5df7d97 /Python/pystate.c | |
parent | 6a258c88906a7e8acde455ee2acb78b6f315ea0b (diff) | |
download | cpython-8b9dbc017a190d13f717e714630d620adb7c7ac2.zip cpython-8b9dbc017a190d13f717e714630d620adb7c7ac2.tar.gz cpython-8b9dbc017a190d13f717e714630d620adb7c7ac2.tar.bz2 |
bpo-36444: Remove _PyMainInterpreterConfig (GH-12571)
Diffstat (limited to 'Python/pystate.c')
-rw-r--r-- | Python/pystate.c | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/Python/pystate.c b/Python/pystate.c index 6fe3dd1..a2464b6 100644 --- a/Python/pystate.c +++ b/Python/pystate.c @@ -174,7 +174,6 @@ PyInterpreterState_New(void) interp->id_refcount = -1; interp->check_interval = 100; interp->core_config = _PyCoreConfig_INIT; - interp->config = _PyMainInterpreterConfig_INIT; interp->eval_frame = _PyEval_EvalFrameDefault; #ifdef HAVE_DLOPEN #if HAVE_DECL_RTLD_NOW @@ -221,7 +220,6 @@ PyInterpreterState_Clear(PyInterpreterState *interp) PyThreadState_Clear(p); HEAD_UNLOCK(); _PyCoreConfig_Clear(&interp->core_config); - _PyMainInterpreterConfig_Clear(&interp->config); Py_CLEAR(interp->codec_search_path); Py_CLEAR(interp->codec_search_cache); Py_CLEAR(interp->codec_error_registry); @@ -455,12 +453,6 @@ _PyInterpreterState_GetCoreConfig(PyInterpreterState *interp) return &interp->core_config; } -_PyMainInterpreterConfig * -_PyInterpreterState_GetMainConfig(PyInterpreterState *interp) -{ - return &interp->config; -} - PyObject * _PyInterpreterState_GetMainModule(PyInterpreterState *interp) { |