[Python-ideas] check interfaces, isducktype(X, A)

Gregory Salvan apieum at gmail.com
Thu Dec 5 16:33:05 CET 2013


>
> It's covered in the inspect module docs:
>
> Oups, I've missed it was introduced in v3.3


> I'd be open to an "abc.invalidate_caches()" function as a
>
more obvious way to force cache invalidation.
>

Does this implementation make sense ?
https://gist.github.com/apieum/7805431
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-ideas/attachments/20131205/ab0cef7a/attachment.html>


More information about the Python-ideas mailing list