mirror of
https://github.com/python/cpython.git
synced 2025-07-10 04:45:36 +00:00
gh-77782: Py_FdIsInteractive() now uses PyConfig.interactive (#93916)
This commit is contained in:
parent
c5b750dc0b
commit
1735710873
6 changed files with 29 additions and 23 deletions
|
@ -2136,6 +2136,7 @@ _Py_GetConfig(void)
|
|||
{
|
||||
assert(PyGILState_Check());
|
||||
PyThreadState *tstate = _PyThreadState_GET();
|
||||
_Py_EnsureTstateNotNULL(tstate);
|
||||
return _PyInterpreterState_GetConfig(tstate->interp);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue