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.

Author mato2000
Recipients jyasskin, mato2000, werneck
Date 2008-06-21.18:34:09
SpamBayes Score 0.12067945
Marked as misclassified No
Message-id <1214073254.41.0.199772663608.issue2325@psf.upfronthosting.co.za>
In-reply-to
Content
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
History
Date User Action Args
2008-06-21 18:34:14mato2000setspambayes_score: 0.120679 -> 0.12067945
recipients: + mato2000, jyasskin, werneck
2008-06-21 18:34:14mato2000setspambayes_score: 0.120679 -> 0.120679
messageid: <1214073254.41.0.199772663608.issue2325@psf.upfronthosting.co.za>
2008-06-21 18:34:13mato2000linkissue2325 messages
2008-06-21 18:34:12mato2000create