Issue 4763: PyErr_GivenExceptionMatches documentation out of date (original) (raw)
The documentation for PyErr_GivenExceptionMatches states that "If given is NULL, a memory access violation will occur." However, looking at the code, this is not the case: the function returns 0 (read: false). It appears, rather, that this function always succeeds.