➜

This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

作者 theller
收信人 ajaksu2, facundobatista, theller
日期 2008-04-02.18:47:15
SpamBayes Score 0.024212267
Marked as misclassified 否
Message-id <1207162038.42.0.208443122783.issue2534@psf.upfronthosting.co.za>
In-reply-to
内容
Running Daniels code interactively, with a debug build on Windows,
additionally prints 'XXX undetected error' before the Runtime error is
raised.

I cannot see anything that is wrong with my code.  Maybe this, and the
test failure, has to do with the fact that the new
'type___subclasscheck__' function is sometimes called with the error
indicator already set?  Maybe some PyErr_Fetch() and PyErr_Restore()
calls are needed inside this function, similar to what
PyObject_IsSubclass() does?  I must admit that I do not really
understand the purpose of these calls...

Anyway, I attach a new, cleaner patch although this one still behaves in
the same, buggy, way: type_instancecheck-2.diff.
历史
日期 用户 动作 参数
2008-04-02 18:47:18theller修改spambayes_score: 0.0242123 -> 0.024212267
recipients: + theller, facundobatista, ajaksu2
2008-04-02 18:47:18theller修改spambayes_score: 0.0242123 -> 0.0242123
messageid: <1207162038.42.0.208443122783.issue2534@psf.upfronthosting.co.za>
2008-04-02 18:47:17theller链接issue2534 messages
2008-04-02 18:47:17theller创建