We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 02bc2d7 commit 03fa2afCopy full SHA for 03fa2af
Python/pystate.c
@@ -1749,7 +1749,8 @@ decref_interpreter(PyInterpreterState *interp)
1749
if (old == 1 && shutting_down_natives(interp)) {
1750
_PyEvent_Notify(&finalizing->finished);
1751
} else if (old <= 0) {
1752
- Py_FatalError("interpreter has negative reference count");
+ Py_FatalError("interpreter has negative reference count, likely due"
1753
+ " to an extra PyInterpreterRef_Close()");
1754
}
1755
1756
0 commit comments