Lines Matching defs:error
40 # error "_testcapi must test the public Python C API, not CPython internal C API"
44 # error "The public headers should not include <stdbool.h>, see bpo-46748"
477 The "report an error" functions are deliberately not part of the #include
479 error function directly, and crawl back from there in the debugger.
2002 of an error.
3283 const char *error = NULL;
3295 #define FAIL(x) { error = (x); goto exit; }
3351 error = buffer; \
3394 if (error) {
3395 return raiseTestError("test_capsule", error);
3716 goto error;
3729 goto error;
3733 error:
3772 /* Test that the fatal error from not having a current thread doesn't
4773 /* invalid call: return NULL without setting an error,
4782 /* invalid call: return a result with an error set,
5142 PyErr_SetString(PyExc_RuntimeError, "PyTraceMalloc_Track error");
5165 PyErr_SetString(PyExc_RuntimeError, "PyTraceMalloc_Untrack error");
6313 goto error;
6318 goto error;
6322 goto error;
6326 goto error;
6329 error:
8133 TestError = PyErr_NewException("_testcapi.error", NULL, NULL);
8135 PyModule_AddObject(m, "error", TestError);