@@ -546,7 +546,8 @@ pycore_init_runtime(_PyRuntimeState *runtime,
546
546
547
547
548
548
static PyStatus
549
- init_interp_settings (PyInterpreterState * interp , const _PyInterpreterConfig * config )
549
+ init_interp_settings (PyInterpreterState * interp ,
550
+ const PyInterpreterConfig * config )
550
551
{
551
552
assert (interp -> feature_flags == 0 );
552
553
@@ -631,7 +632,7 @@ pycore_create_interpreter(_PyRuntimeState *runtime,
631
632
return status ;
632
633
}
633
634
634
- const _PyInterpreterConfig config = _PyInterpreterConfig_LEGACY_INIT ;
635
+ const PyInterpreterConfig config = _PyInterpreterConfig_LEGACY_INIT ;
635
636
status = init_interp_settings (interp , & config );
636
637
if (_PyStatus_EXCEPTION (status )) {
637
638
return status ;
@@ -1991,7 +1992,7 @@ Py_Finalize(void)
1991
1992
*/
1992
1993
1993
1994
static PyStatus
1994
- new_interpreter (PyThreadState * * tstate_p , const _PyInterpreterConfig * config )
1995
+ new_interpreter (PyThreadState * * tstate_p , const PyInterpreterConfig * config )
1995
1996
{
1996
1997
PyStatus status ;
1997
1998
@@ -2079,8 +2080,8 @@ new_interpreter(PyThreadState **tstate_p, const _PyInterpreterConfig *config)
2079
2080
}
2080
2081
2081
2082
PyStatus
2082
- _Py_NewInterpreterFromConfig (PyThreadState * * tstate_p ,
2083
- const _PyInterpreterConfig * config )
2083
+ Py_NewInterpreterFromConfig (PyThreadState * * tstate_p ,
2084
+ const PyInterpreterConfig * config )
2084
2085
{
2085
2086
return new_interpreter (tstate_p , config );
2086
2087
}
@@ -2089,8 +2090,8 @@ PyThreadState *
2089
2090
Py_NewInterpreter (void )
2090
2091
{
2091
2092
PyThreadState * tstate = NULL ;
2092
- const _PyInterpreterConfig config = _PyInterpreterConfig_LEGACY_INIT ;
2093
- PyStatus status = _Py_NewInterpreterFromConfig (& tstate , & config );
2093
+ const PyInterpreterConfig config = _PyInterpreterConfig_LEGACY_INIT ;
2094
+ PyStatus status = new_interpreter (& tstate , & config );
2094
2095
if (_PyStatus_EXCEPTION (status )) {
2095
2096
Py_ExitStatusException (status );
2096
2097
}
0 commit comments