Searched refs:_PyErr_Occurred (Results 1 – 16 of 16) sorted by relevance
923 assert(!_PyErr_Occurred(tstate)); in handle_legacy_finalizers()970 assert(!_PyErr_Occurred(tstate)); in finalize_garbage()985 assert(!_PyErr_Occurred(tstate)); in delete_garbage()1005 if (_PyErr_Occurred(tstate)) { in delete_garbage()1303 if (_PyErr_Occurred(tstate)) { in collect()1329 assert(!_PyErr_Occurred(tstate)); in collect()1341 assert(!_PyErr_Occurred(tstate)); in invoke_gc_callback()1375 assert(!_PyErr_Occurred(tstate)); in invoke_gc_callback()1384 assert(!_PyErr_Occurred(tstate)); in collect_with_callback()1389 assert(!_PyErr_Occurred(tstate)); in collect_with_callback()[all …]
265 if (_PyErr_Occurred(ts)) { in sys_audit_tstate()282 assert(_PyErr_Occurred(ts)); in sys_audit_tstate()511 assert(!_PyErr_Occurred(tstate)); in sys_breakpointhook()683 if (!_PyErr_Occurred(tstate)) { in sys_displayhook()1405 if (_PyErr_Occurred(tstate)) { in get_hash_info()1540 if (_PyErr_Occurred(tstate)) { in sys_getwindowsversion_impl()1696 if (!_PyErr_Occurred(tstate)) { in _PySys_GetSizeOf()1712 if (size == -1 && _PyErr_Occurred(tstate)) in _PySys_GetSizeOf()1742 if (size == (size_t)-1 && _PyErr_Occurred(tstate)) { in sys_getsizeof()2534 if (_PyErr_Occurred(tstate)) { in make_flags()[all …]
472 if (_PyErr_Occurred(tstate)) { in _PyImport_Cleanup()869 if (_PyErr_Occurred(tstate)) { in import_add_module()1025 if (_PyErr_Occurred(tstate) || in module_dict_for_exec()1051 if (m == NULL && !_PyErr_Occurred(tstate)) { in exec_code_in_module()1200 if (importer != NULL || _PyErr_Occurred(tstate)) in get_path_importer()1273 if (mod || _PyErr_Occurred(tstate)) { in _imp_create_builtin()1597 else if (package == NULL && _PyErr_Occurred(tstate)) { in resolve_name()1601 if (spec == NULL && _PyErr_Occurred(tstate)) { in resolve_name()1652 if (!_PyErr_Occurred(tstate)) { in resolve_name()1669 if (_PyErr_Occurred(tstate) || PyUnicode_READY(package) < 0) { in resolve_name()[all …]
227 return _PyErr_Occurred(tstate); in PyErr_Occurred()266 return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc); in _PyErr_ExceptionMatches()499 if (_PyErr_Occurred(tstate)) { in _PyErr_ChainExceptions()529 assert(_PyErr_Occurred(tstate)); in _PyErr_ChainStackItem()579 assert(_PyErr_Occurred(tstate)); in _PyErr_FormatVFromCause()587 assert(!_PyErr_Occurred(tstate)); in _PyErr_FormatVFromCause()1103 if (_PyErr_Occurred(tstate)) { in PyErr_NewException()1233 if (_PyErr_Occurred(tstate)) { in make_unraisable_hook_args()
1360 assert(!_PyErr_Occurred(tstate)); in _PyEval_EvalFrameDefault()1367 assert(!_PyErr_Occurred(tstate)); in _PyEval_EvalFrameDefault()2319 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2493 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2510 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2517 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2675 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2866 if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()3313 if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()3731 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()[all …]
639 assert(!_PyErr_Occurred(tstate)); in pycore_init_builtins()669 assert(!_PyErr_Occurred(tstate)); in pycore_init_builtins()682 assert(!_PyErr_Occurred(tstate)); in pycore_init_import_warnings()713 assert(!_PyErr_Occurred(tstate)); in pycore_init_import_warnings()967 assert(!_PyErr_Occurred(tstate)); in init_interp_main()1068 assert(!_PyErr_Occurred(tstate)); in init_interp_main()2389 if (_PyErr_Occurred(tstate)) { in wait_for_thread_shutdown()
880 if (_PyErr_Occurred(tstate)) { in setup_context()899 else if (_PyErr_Occurred(tstate)) { in setup_context()
675 assert(_PyErr_Occurred(tstate)); in _PyState_AddModule()
1219 if (!v && _PyErr_Occurred(tstate) == PyExc_KeyboardInterrupt) { in run_eval_code_obj()
24 if (!_PyErr_Occurred(tstate)) { in null_error()39 if (!_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()57 if (_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()103 assert(!_PyErr_Occurred(tstate)); in _PyObject_FastCallDictTstate()261 assert(!_PyErr_Occurred(tstate)); in _PyObject_Call()420 assert(!_PyErr_Occurred(tstate)); in PyEval_CallObjectWithKeywords()448 assert(!_PyErr_Occurred(tstate)); in PyObject_CallObject()
386 assert(!_PyErr_Occurred(tstate)); in cfunction_check_kwargs()524 assert(!_PyErr_Occurred(tstate)); in cfunction_call()
411 assert(!_PyErr_Occurred(tstate)); in PyObject_Repr()471 assert(!_PyErr_Occurred(tstate)); in PyObject_Str()715 if (!_PyErr_Occurred(tstate)) { in PyObject_RichCompare()
2536 else if (_PyErr_Occurred(tstate)) { in object_recursive_isinstance()2619 else if (_PyErr_Occurred(tstate)) { in object_issubclass()
211 assert(_PyErr_Occurred(tstate)); in gen_send_ex()
981 assert(!_PyErr_Occurred(tstate)); in type_call()1028 assert(_PyErr_Occurred(tstate)); in type_call()1033 assert(!_PyErr_Occurred(tstate)); in type_call()
11 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred() function