Message96880
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. |
|
Date |
User |
Action |
Args |
2009-12-25 11:28:15 | Trundle | set | recipients:
+ Trundle, georg.brandl, exarkun, ncoghlan, pitrou, benjamin.peterson, ezio.melotti, joe.amenta, milko.krachounov |
2009-12-25 11:28:15 | Trundle | set | messageid: <1261740495.11.0.380270866877.issue7006@psf.upfronthosting.co.za> |
2009-12-25 11:28:13 | Trundle | link | issue7006 messages |
2009-12-25 11:28:13 | Trundle | create | |
|