mirror of
https://github.com/python/cpython.git
synced 2025-10-15 19:29:46 +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
|
@ -347,9 +347,9 @@ void _Py_NO_RETURN
|
|||
_Py_FatalError_TstateNULL(const char *func)
|
||||
{
|
||||
_Py_FatalErrorFunc(func,
|
||||
"the function must be called with the GIL held, "
|
||||
"but the GIL is released "
|
||||
"(the current Python thread state is NULL)");
|
||||
"the function must be called with the GIL held, "
|
||||
"after Python initialization and before Python finalization, "
|
||||
"but the GIL is released (the current Python thread state is NULL)");
|
||||
}
|
||||
|
||||
int
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue