Lines Matching refs:py_error
1049 PyObject *py_error = NULL; in ExecuteOneLineWithReturn() local
1068 py_error = PyErr_Occurred(); in ExecuteOneLineWithReturn()
1069 if (py_error != NULL) in ExecuteOneLineWithReturn()
1079 py_error = PyErr_Occurred (); in ExecuteOneLineWithReturn()
1080 if (py_error != NULL) in ExecuteOneLineWithReturn()
1188 py_error = PyErr_Occurred(); in ExecuteOneLineWithReturn()
1189 if (py_error != NULL) in ExecuteOneLineWithReturn()
1194 if (PyErr_GivenExceptionMatches (py_error, PyExc_SyntaxError)) in ExecuteOneLineWithReturn()
1217 PyObject *py_error = NULL; in ExecuteMultipleLines() local
1234 py_error = PyErr_Occurred(); in ExecuteMultipleLines()
1235 if (py_error != NULL) in ExecuteMultipleLines()
1261 py_error = PyErr_Occurred (); in ExecuteMultipleLines()
1262 if (py_error != NULL) in ExecuteMultipleLines()
1267 if (PyErr_GivenExceptionMatches (py_error, PyExc_SyntaxError)) in ExecuteMultipleLines()
2867 …PyObject* py_error = PyErr_Occurred(); // per Python docs: "you do not need to Py_DECREF()" the re… in LoadScriptingModule() local
2869 if (py_error || !import_retval) // check for failure of the import in LoadScriptingModule()
2871 if (py_error) // if we have a Python error.. in LoadScriptingModule()
2876 … if (PyErr_GivenExceptionMatches (py_error, PyExc_ImportError)) // and it is an ImportError in LoadScriptingModule()