File: arm4module.c
Function: bind_thread
Error: returning (PyObject*)NULL without setting an exception
4201 static PyObject *
4202 bind_thread (PyObject *self, PyObject *args, PyObject *keywds)
4203 {
4204     arm_error_t status;
4205 	ArmHandle *tran_handle;
4206 
4207 	/*
4208 	 * Supported calling signatures:
4209 	 *	bind_thread (tran_handle)
4210 	 */
4211 	static char *kwlist[] = {"tran_handle", NULL};
4212 
4213 	if (!PyArg_ParseTupleAndKeywords(args, keywds, "O:bind_thread", kwlist, &tran_handle))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
4214         return NULL;
4215 	if (!ArmHandle_Object_Check(tran_handle))
when taking False path
4216 		return NULL;
4217 
4218 	status = arm_bind_thread(
4219 		tran_handle->arm_handle,
4220 		0,
4221 		NULL); /* No valid buffers for this call */
4222 	if (GETSTATE0->enableExceptions && (status != ARM_SUCCESS))
when considering range: 1 <= value <= 0x7fffffff
when considering range: -0x80000000 <= value <= -1
taking True path
4223 	{
4224 		set_arm_error (status, "arm_bind_thread");
4225 		return NULL;
4226 	}
4227 
4228 	/* Empty return */
4229 	Py_INCREF(Py_None);
4230 	return Py_None;
4231 }
returning (PyObject*)NULL without setting an exception
found 11 similar trace(s) to this