[issue4763] PyErr_GivenExceptionMatches documentation out of date

2008-12-28 Thread Benjamin Peterson
Benjamin Peterson added the comment: Thanks for the report! Fixed in r67995. -- nosy: +benjamin.peterson resolution: -> fixed status: open -> closed ___ Python tracker ___ _

[issue4763] PyErr_GivenExceptionMatches documentation out of date

2008-12-28 Thread garcia
New submission from garcia : 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