File: arm4module.c
Function: is_charset_supported
Error: returning (PyObject*)NULL without setting an exception
4609 static PyObject *
4610 is_charset_supported (PyObject *self, PyObject *args, PyObject *keywds)
4611 {
4612     arm_error_t status;
4613     arm_charset_t charset;
4614 	arm_boolean_t supported;
4615 
4616 	/*
4617 	 * Supported calling signatures:
4618 	 *	is_charset_supported (charset)
4619 	 */
4620 	static char *kwlist[] = {"charset", NULL};
4621 
4622 	if (!PyArg_ParseTupleAndKeywords(args, keywds, PARSE_INT32_FMT ":is_charset_supported", kwlist, &charset))
when PyArg_ParseTupleAndKeywords() succeeds
taking False path
4623         return NULL;
4624 
4625 	status = arm_is_charset_supported(
4626 		charset,
4627 		&supported);
4628 	if (GETSTATE0->enableExceptions && (status != ARM_SUCCESS))
when considering range: -0x80000000 <= value <= -1
when considering range: -0x80000000 <= value <= -1
taking True path
4629 	{
4630 		set_arm_error (status, "arm_is_charset_supported");
4631 		return NULL;
4632 	}
4633 
4634 	/* Return the flag value */
4635 	return PyBool_FromLong (supported);
4636 }
returning (PyObject*)NULL without setting an exception
found 3 similar trace(s) to this