Author ncoghlan
Recipients Trundle, benjamin.peterson, exarkun, ezio.melotti, georg.brandl, joe.amenta, milko.krachounov, ncoghlan, pitrou
Date 2009-12-25.07:13:48
SpamBayes Score 4.59165e-05
Marked as misclassified No
Message-id <1261725230.68.0.855712413267.issue7006@psf.upfronthosting.co.za>
In-reply-to
Content
Just confirming that 2.x also correctly ignores instance attributes (as
it should, since it looks at the tp_call slot):

>>> odd = Spam()
>>> odd.__call__ = lambda: 'very odd'
>>> callable(odd)
False
History
Date User Action Args
2009-12-25 07:13:50ncoghlansetrecipients: + ncoghlan, georg.brandl, exarkun, pitrou, benjamin.peterson, ezio.melotti, Trundle, joe.amenta, milko.krachounov
2009-12-25 07:13:50ncoghlansetmessageid: <1261725230.68.0.855712413267.issue7006@psf.upfronthosting.co.za>
2009-12-25 07:13:49ncoghlanlinkissue7006 messages
2009-12-25 07:13:48ncoghlancreate