Message151296
| Author |
pitrou |
| Recipients |
Ramchandra Apte, eric.araujo, gruszczy, jcea, jcon, meador.inge, pitrou, rhettinger |
| Date |
2012年01月15日.17:20:03 |
| SpamBayes Score |
2.4804035e-06 |
| Marked as misclassified |
No |
| Message-id |
<1326647904.3396.3.camel@localhost.localdomain> |
| In-reply-to |
<1326636090.29.0.839986828946.issue13521@psf.upfronthosting.co.za> |
| Content |
> No more double lookup.
Your patch doesn't check hashed2.eq_count.
Since the dict specification doesn't say on which instance __eq__ will
be called when doing a lookup, the patch should either check
``hashed1.eq_count + hashed2.eq_count``, or make eq_count a class
attribute.
A nit: be careful not to use tabs in C files. |
|