File: pygstexception.c
Function: element_not_found_error_init
Error: returning (PyObject*)NULL without setting an exception
118 static PyObject *
119 element_not_found_error_init(PyObject *self, PyObject *args)
120 {
121     PyObject *element_name = NULL;
122     int status;
123 
124     if (!PyArg_ParseTuple(args, "O|O:__init__", &self, &element_name))
when PyArg_ParseTuple() succeeds
taking False path
125         return NULL;
126 
127     if (element_name == NULL)
taking False path
128         element_name = Py_None;
129     Py_INCREF(element_name);
130     
131     /* set self.name */
132     status = PyObject_SetAttrString(self, "name", element_name);
133     Py_DECREF(element_name);
when considering range: -0x8000000000000000 <= value <= -1
taking True path
134     if (status < 0)
when considering range: -0x80000000 <= value <= -1
taking True path
135         return NULL;
136 
137     return call_exception_init(args);
138 }
returning (PyObject*)NULL without setting an exception
found 2 similar trace(s) to this