Author theller
Recipients theller
Date 2008-04-03.08:58:57
SpamBayes Score 0.254894
Marked as misclassified No
Message-id <1207213140.65.0.87653801468.issue2542@psf.upfronthosting.co.za>
In-reply-to
Content
PyErr_ExceptionMatches must not fail, according to the docs.  So an
error code from PyObject_IsSubclass() cannot be returned.

The attached patch calls PyErr_WriteUnraisable in this case, and returns
an arbitrary value (0 was chosen in the patch).

See also issue #2534.
History
Date User Action Args
2008-04-03 08:59:01thellersetspambayes_score: 0.254894 -> 0.254894
recipients: + theller
2008-04-03 08:59:00thellersetspambayes_score: 0.254894 -> 0.254894
messageid: <1207213140.65.0.87653801468.issue2542@psf.upfronthosting.co.za>
2008-04-03 08:58:59thellerlinkissue2542 messages
2008-04-03 08:58:58thellercreate