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 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.5916495e-05
Marked as misclassified No
Message-id <>
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)
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: <>
2009-12-25 07:13:49ncoghlanlinkissue7006 messages
2009-12-25 07:13:48ncoghlancreate