[Patches] [ python-Patches-1592072 ] PyErr_CheckSignals returns -1 on error, not 1
SourceForge.net
noreply at sourceforge.net
Wed Nov 8 08:46:16 CET 2006
Patches item #1592072, was opened at 2006-11-07 15:48
Message generated for change (Comment added) made by gbrandl
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1592072&group_id=5470
Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Documentation
Group: None
>Status: Closed
>Resolution: Accepted
Priority: 5
Private: No
Submitted By: Gustavo J. A. M. Carneiro (gustavo)
>Assigned to: Georg Brandl (gbrandl)
Summary: PyErr_CheckSignals returns -1 on error, not 1
Initial Comment:
Documentation for PyErr_CheckSignals [1] says "If an
exception is raised the error indicator is set and the
function returns 1; otherwise the function returns 0.".
But the code I see tells me the function returns -1 on
error.
I posted on the ML [2] and got no reply in over a
month, so GvR suggested to fix the docs (patch attached).
[1]
http://docs.python.org/api/exceptionHandling.html#l2h-115
[2]
http://mail.python.org/pipermail/python-dev/2006-September/068994.html
----------------------------------------------------------------------
>Comment By: Georg Brandl (gbrandl)
Date: 2006-11-08 07:46
Message:
Logged In: YES
user_id=849994
Committed as rev. 52666, 52667 (2.5).
----------------------------------------------------------------------
You can respond by visiting:
https://sourceforge.net/tracker/?func=detail&atid=305470&aid=1592072&group_id=5470
More information about the Patches
mailing list