Nick Coghlan added the comment: Also, we should probably explain the approach we chose to follow in the stdlib, where we block implicit inheritance of __subclasshook__ behaviour by include an explicit type check at the start of the implementation, so it always returns NotImplemented when the first argument is a subclass rather than the exact expected class.
---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16831> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com