Searched refs:_PyErr_Occurred (Results 1 – 17 of 17) sorted by relevance
24 if (!_PyErr_Occurred(tstate)) { in null_error()39 if (!_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()57 if (_PyErr_Occurred(tstate)) { in _Py_CheckFunctionResult()87 if (!_PyErr_Occurred(tstate)) { in _Py_CheckSlotResult()95 if (_PyErr_Occurred(tstate)) { in _Py_CheckSlotResult()127 assert(!_PyErr_Occurred(tstate)); in _PyObject_FastCallDictTstate()285 assert(!_PyErr_Occurred(tstate)); in _PyObject_Call()362 assert(!_PyErr_Occurred(tstate)); in PyEval_CallObjectWithKeywords()390 assert(!_PyErr_Occurred(tstate)); in PyObject_CallObject()
29 if (!_PyErr_Occurred(tstate)) { in null_error()100 assert(_PyErr_Occurred(tstate)); in PyObject_LengthHint()802 if (!_PyErr_Occurred(tstate)) { in PyObject_Format()1492 runerr = _PyErr_Occurred(tstate); in PyNumber_AsSsize_t()2585 if (!_PyErr_Occurred(tstate)) { in check_class()2685 else if (_PyErr_Occurred(tstate)) { in object_recursive_isinstance()2770 else if (_PyErr_Occurred(tstate)) { in object_issubclass()2877 if (_PyErr_Occurred(tstate) in PyIter_Next()
390 assert(!_PyErr_Occurred(tstate)); in cfunction_check_kwargs()528 assert(!_PyErr_Occurred(tstate)); in cfunction_call()
431 assert(!_PyErr_Occurred(tstate)); in PyObject_Repr()491 assert(!_PyErr_Occurred(tstate)); in PyObject_Str()735 if (!_PyErr_Occurred(tstate)) { in PyObject_RichCompare()
48 if (module == NULL && _PyErr_Occurred(tstate)) { in PyFunction_NewWithQualName()
209 assert(_PyErr_Occurred(tstate)); in gen_send_ex2()
1089 assert(!_PyErr_Occurred(tstate)); in type_call()1135 assert(_PyErr_Occurred(tstate)); in type_call()1140 assert(!_PyErr_Occurred(tstate)); in type_call()
936 assert(!_PyErr_Occurred(tstate)); in handle_legacy_finalizers()983 assert(!_PyErr_Occurred(tstate)); in finalize_garbage()998 assert(!_PyErr_Occurred(tstate)); in delete_garbage()1018 if (_PyErr_Occurred(tstate)) { in delete_garbage()1201 assert(!_PyErr_Occurred(tstate)); in gc_collect_main()1329 if (_PyErr_Occurred(tstate)) { in gc_collect_main()1355 assert(!_PyErr_Occurred(tstate)); in gc_collect_main()1367 assert(!_PyErr_Occurred(tstate)); in invoke_gc_callback()1401 assert(!_PyErr_Occurred(tstate)); in invoke_gc_callback()1410 assert(!_PyErr_Occurred(tstate)); in gc_collect_with_callback()[all …]
606 if (_PyErr_Occurred(tstate)) { in import_add_module()801 if (m == NULL && !_PyErr_Occurred(tstate)) { in exec_code_in_module()952 if (importer != NULL || _PyErr_Occurred(tstate)) { in get_path_importer()1000 if (mod || _PyErr_Occurred(tstate)) { in create_builtin()1343 else if (package == NULL && _PyErr_Occurred(tstate)) { in resolve_name()1347 if (spec == NULL && _PyErr_Occurred(tstate)) { in resolve_name()1398 if (!_PyErr_Occurred(tstate)) { in resolve_name()1611 if (mod == NULL && _PyErr_Occurred(tstate)) { in PyImport_ImportModuleLevelObject()1672 if (!_PyErr_Occurred(tstate)) { in PyImport_ImportModuleLevelObject()1834 if (r == NULL && !_PyErr_Occurred(tstate)) { in PyImport_Import()
287 if (_PyErr_Occurred(ts)) { in sys_audit_tstate()304 assert(_PyErr_Occurred(ts)); in sys_audit_tstate()533 assert(!_PyErr_Occurred(tstate)); in sys_breakpointhook()705 if (!_PyErr_Occurred(tstate)) { in sys_displayhook()1421 if (_PyErr_Occurred(tstate)) { in get_hash_info()1710 if (!_PyErr_Occurred(tstate)) { in _PySys_GetSizeOf()1726 if (size == -1 && _PyErr_Occurred(tstate)) in _PySys_GetSizeOf()1756 if (size == (size_t)-1 && _PyErr_Occurred(tstate)) { in sys_getsizeof()2694 if (_PyErr_Occurred(tstate)) { in make_version_info()2912 if (_PyErr_Occurred(tstate)) { in _PySys_InitCore()[all …]
935 if (!_PyErr_Occurred(tstate)) { in match_keys()983 if (!_PyErr_Occurred(tstate)) { in match_class_attr()1736 assert(!_PyErr_Occurred(tstate)); in _PyEval_EvalFrameDefault()1743 assert(!_PyErr_Occurred(tstate)); in _PyEval_EvalFrameDefault()2734 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2908 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2925 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2932 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()2987 if (!_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()3090 else if (_PyErr_Occurred(tstate)) { in _PyEval_EvalFrameDefault()[all …]
254 return _PyErr_Occurred(tstate); in PyErr_Occurred()293 return PyErr_GivenExceptionMatches(_PyErr_Occurred(tstate), exc); in _PyErr_ExceptionMatches()529 if (_PyErr_Occurred(tstate)) { in _PyErr_ChainExceptions()559 assert(_PyErr_Occurred(tstate)); in _PyErr_ChainStackItem()609 assert(_PyErr_Occurred(tstate)); in _PyErr_FormatVFromCause()617 assert(!_PyErr_Occurred(tstate)); in _PyErr_FormatVFromCause()1262 if (_PyErr_Occurred(tstate)) { in make_unraisable_hook_args()
158 assert(!_PyErr_Occurred(tstate)); in init_importlib()198 assert(!_PyErr_Occurred(tstate)); in init_importlib()780 assert(!_PyErr_Occurred(tstate)); in pycore_init_builtins()1062 assert(!_PyErr_Occurred(tstate)); in init_interp_main()1166 assert(!_PyErr_Occurred(tstate)); in init_interp_main()1328 if (_PyErr_Occurred(tstate)) { in finalize_modules_delete_special()2814 if (_PyErr_Occurred(tstate)) { in wait_for_thread_shutdown()
874 if (_PyErr_Occurred(tstate)) { in setup_context()893 else if (_PyErr_Occurred(tstate)) { in setup_context()
1292 if (!v && _PyErr_Occurred(tstate) == PyExc_KeyboardInterrupt) { in run_eval_code_obj()
722 assert(_PyErr_Occurred(tstate)); in _PyState_AddModule()
11 static inline PyObject* _PyErr_Occurred(PyThreadState *tstate) in _PyErr_Occurred() function