➜

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.

作者 mato2000
收信人 jyasskin, mato2000, werneck
日期 2008-06-21.18:34:09
SpamBayes Score 0.12067945
Marked as misclassified 否
Message-id <1214073254.41.0.199772663608.issue2325@psf.upfronthosting.co.za>
In-reply-to
内容
This is not a bug. Function __instancecheck__ should be a classmethod.

>>> class Meta(type):
...     @classmethod
...     def __instancecheck__(self, other):
...             return False
... 
>>> isinstance(3, Meta)
False
历史
日期 用户 动作 参数
2008-06-21 18:34:14mato2000修改spambayes_score: 0.120679 -> 0.12067945
recipients: + mato2000, jyasskin, werneck
2008-06-21 18:34:14mato2000修改spambayes_score: 0.120679 -> 0.120679
messageid: <1214073254.41.0.199772663608.issue2325@psf.upfronthosting.co.za>
2008-06-21 18:34:13mato2000链接issue2325 messages
2008-06-21 18:34:12mato2000创建