Author Trundle
Recipients Trundle, benjamin.peterson, exarkun, ezio.melotti, georg.brandl, joe.amenta, milko.krachounov, ncoghlan, pitrou
Date 2009-12-25.11:28:13
SpamBayes Score 0.00162469
Marked as misclassified No
Message-id <1261740495.11.0.380270866877.issue7006@psf.upfronthosting.co.za>
In-reply-to
Content
What Joe Amenta stumbled across is that ABCMeta caches its subclass 
checks. If you call ``isinstance(spam, Callable)`` and after that delete 
`type(spam).__call__`, every other call of ``isinstance(spam, Callable)`` 
will still return True.
History
Date User Action Args
2009-12-25 11:28:15Trundlesetrecipients: + Trundle, georg.brandl, exarkun, ncoghlan, pitrou, benjamin.peterson, ezio.melotti, joe.amenta, milko.krachounov
2009-12-25 11:28:15Trundlesetmessageid: <1261740495.11.0.380270866877.issue7006@psf.upfronthosting.co.za>
2009-12-25 11:28:13Trundlelinkissue7006 messages
2009-12-25 11:28:13Trundlecreate