]> granicus.if.org Git - python/commit
Issue #23571: Enhance _Py_CheckFunctionResult()
authorVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Mar 2015 15:28:52 +0000 (16:28 +0100)
committerVictor Stinner <victor.stinner@gmail.com>
Tue, 24 Mar 2015 15:28:52 +0000 (16:28 +0100)
commit944fbcc478e36523add77574e172caf518647c74
tree2aaa3be535201b0b936dc64bd878a7b4eadb0f59
parent381a9bce9762fe2db4a7951f689df4d06ba53f79
Issue #23571: Enhance _Py_CheckFunctionResult()

Too bad, sometimes Py_FatalError() is unable to write the exception into
sys.stderr (on "AMD64 OpenIndiana 3.x" buildbot, the buildbot was probably out
of memory).

Call Py_FatalError() with a different message for the two cases (result+error,
or no result and no error).
Lib/test/test_capi.py
Objects/abstract.c