Message170334
| Author |
ethan.furman |
| Recipients |
Arfrever, cvrebert, docs@python, eric.araujo, ethan.furman, ncoghlan, python-dev, r.david.murray |
| Date |
2012年09月11日.17:57:57 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<504F7F73.3070707@stoneleaf.us> |
| In-reply-to |
<1347383155.13.0.283842840542.issue14617@psf.upfronthosting.co.za> |
| Content |
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. |
|