Ethan Furman added the comment: R. David Murray wrote: > I rewrote the section a bit differently than you did in your patch...if you > think my changes are not an improvement please let me know.
This line is incorrect: A class which defines its own :meth:`__hash__` that explicitly raises a :exc:`TypeError` would be incorrectly identified as hashable by an ``isinstance(obj, collections.Hashable)`` call. It should be "would not be correctly identified as hashable". Otherwise, looks great. ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue14617> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com