96 static PyObject *
97 link_error_init(PyObject *self, PyObject *args)
98 {
99 PyObject *err_type = NULL;
100 int status;
101
102 if (!PyArg_ParseTuple(args, "O|O:__init__", &self, &err_type))
when PyArg_ParseTuple() succeeds
taking False path
103 return NULL;
104
105 if (err_type == NULL)
taking False path
106 err_type = Py_None;
107 Py_INCREF(err_type);
108
109 /* set self.error */
110 status = PyObject_SetAttrString(self, "error", err_type);
111 Py_DECREF(err_type);
when considering range: -0x8000000000000000 <= value <= -1
taking True path
112 if (status < 0)
when considering range: -0x80000000 <= value <= -1
taking True path
113 return NULL;
114
115 return call_exception_init(args);
116 }
returning (PyObject*)NULL without setting an exception
found 2 similar trace(s) to this