Home
last modified time | relevance | path

Searched refs:Py_FatalError (Results 1 – 25 of 43) sorted by relevance

12

/third_party/python/Python/
Dceval_gil.h56 Py_FatalError("PyMUTEX_INIT(" #mut ") failed"); };
59 Py_FatalError("PyMUTEX_FINI(" #mut ") failed"); };
62 Py_FatalError("PyMUTEX_LOCK(" #mut ") failed"); };
65 Py_FatalError("PyMUTEX_UNLOCK(" #mut ") failed"); };
69 Py_FatalError("PyCOND_INIT(" #cond ") failed"); };
72 Py_FatalError("PyCOND_FINI(" #cond ") failed"); };
75 Py_FatalError("PyCOND_SIGNAL(" #cond ") failed"); };
78 Py_FatalError("PyCOND_WAIT(" #cond ") failed"); };
83 Py_FatalError("PyCOND_WAIT(" #cond ") failed"); \
153 Py_FatalError("drop_gil: GIL is not locked"); in drop_gil()
Dpystate.c393 Py_FatalError("NULL interpreter"); in PyInterpreterState_Delete()
400 Py_FatalError("remaining threads"); in PyInterpreterState_Delete()
407 Py_FatalError("remaining subinterpreters"); in PyInterpreterState_Delete()
473 Py_FatalError("no current interpreter"); in PyInterpreterState_Get()
755 Py_FatalError("module definition is NULL"); in PyState_AddModule()
787 Py_FatalError("invalid module index"); in PyState_RemoveModule()
790 Py_FatalError("Interpreters module-list not accessible."); in PyState_RemoveModule()
793 Py_FatalError("Module index out of bounds."); in PyState_RemoveModule()
889 Py_FatalError("NULL interpreter"); in tstate_delete_common()
1042 Py_FatalError("Invalid thread state for this thread"); in _PyThreadState_Swap()
[all …]
Dthread_nt.h81 Py_FatalError("_PyTime_GetPerfCounter() == 0"); in EnterNonRecursiveMutex()
318 Py_FatalError("Timeout larger than PY_TIMEOUT_MAX"); in PyThread_acquire_lock_timed()
Dfrozenmain.c102 Py_FatalError("the __main__ module is not frozen"); in Py_FrozenMain()
Dpylifecycle.c2009 Py_FatalError("thread is not current"); in Py_EndInterpreter()
2012 Py_FatalError("thread still has a frame"); in Py_EndInterpreter()
2022 Py_FatalError("not the last thread"); in Py_EndInterpreter()
2738 #undef Py_FatalError
2741 Py_FatalError(const char *msg) in Py_FatalError() function
2798 Py_FatalError("Py_ExitStatusException() must not be called on success"); in Py_ExitStatusException()
Dsysmodule.c3171 Py_FatalError("can't create sys.path"); in PySys_SetPath()
3174 Py_FatalError("can't assign sys.path"); in PySys_SetPath()
3212 Py_FatalError("no mem for sys.argv"); in PySys_SetArgvEx()
3216 Py_FatalError("can't assign sys.argv"); in PySys_SetArgvEx()
3227 Py_FatalError("can't compute path0 from argv"); in PySys_SetArgvEx()
3234 Py_FatalError("can't prepend path0 to sys.path"); in PySys_SetArgvEx()
Derrors.c410 Py_FatalError("Cannot recover from MemoryErrors " in _PyErr_NormalizeException()
414 Py_FatalError("Cannot recover from the recursive normalization " in _PyErr_NormalizeException()
678 Py_FatalError("Out of memory and PyExc_MemoryError is not " in _PyErr_NoMemory()
Dthread_pthread.h455 Py_FatalError("Timeout larger than PY_TIMEOUT_MAX"); in PyThread_acquire_lock_timed()
Dgetargs.c289 Py_FatalError("too many tuple nesting levels " in vgetargs1_impl()
294 Py_FatalError("excess ')' in getargs format"); in vgetargs1_impl()
324 Py_FatalError(/* '(' */ "missing ')' in getargs format"); in vgetargs1_impl()
Dimport.c275 Py_FatalError("interpreter has no modules dictionary"); in PyImport_GetModuleDict()
735 Py_FatalError("no current interpreter"); in PyImport_ExecCodeModuleWithPathnames()
Dceval.c458 Py_FatalError("non-NULL old thread state"); in PyEval_AcquireThread()
471 Py_FatalError("wrong thread state"); in PyEval_ReleaseThread()
875 Py_FatalError("Cannot recover from stack overflow."); in _Py_CheckRecursiveCall()
1183 Py_FatalError("tstate mix-up"); in eval_frame_handle_pending()
1195 Py_FatalError("orphan tstate"); in eval_frame_handle_pending()
/third_party/python/Include/
Dpymacro.h105 Py_FatalError( \
117 Py_FatalError( \
129 Py_FatalError("Unreachable C code path reached")
Dpyerrors.h31 PyAPI_FUNC(void) _Py_NO_RETURN Py_FatalError(const char *message);
/third_party/python/Misc/
Dcoverity_model.c34 void Py_FatalError(const char *msg) { in Py_FatalError() function
/third_party/python/Include/cpython/
Dpyerrors.h214 #define Py_FatalError(message) _Py_FatalErrorFunc(__func__, message) macro
/third_party/python/PC/
Dgetpathp.c156 Py_FatalError("buffer overflow in getpathp.c's reduce()"); in reduce()
172 Py_FatalError("buffer overflow in getpathp.c's reduce()"); in change_ext()
256 Py_FatalError("buffer overflow in getpathp.c's join()"); in join()
Dpython3dll.c55 EXPORT_FUNC(Py_FatalError)
/third_party/python/Objects/
Dcall.c51 Py_FatalError("a function returned NULL without setting an exception"); in _Py_CheckFunctionResult()
73 Py_FatalError("a function returned a result with an exception set"); in _Py_CheckFunctionResult()
Dframeobject.c895 Py_FatalError("block stack overflow"); in PyFrame_BlockSetup()
908 Py_FatalError("block stack underflow"); in PyFrame_BlockPop()
Dobject.c1572 Py_FatalError("deallocating None"); in none_dealloc()
1710 Py_FatalError("deallocating NotImplemented"); in notimplemented_dealloc()
2277 Py_FatalError("_PyObject_AssertFailed"); in _PyObject_AssertFailed()
/third_party/python/Misc/NEWS.d/
D3.10.0a5.rst30 Replace :c:func:`Py_FatalError` calls in the compiler with regular
279 The :c:func:`Py_FatalError` function and the :mod:`faulthandler` module now
/third_party/python/Doc/c-api/
Dsys.rst382 .. c:function:: void Py_FatalError(const char *message)
393 The ``Py_FatalError()`` function is replaced with a macro which logs
/third_party/python/Parser/
Dtokenizer.c1067 Py_FatalError("tokenizer beginning of buffer"); in tok_backup()
1070 Py_FatalError("tok_backup: wrong character"); in tok_backup()
/third_party/python/Modules/
Dreadline.c1384 Py_FatalError("not enough memory to save locale"); in call_readline()
Dfaulthandler.c1073 Py_FatalError("in new thread"); in faulthandler_fatal_error_thread()

12