This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

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.
History
Date User Action Args
2012-01-15 17:20:07pitrousetrecipients: + pitrou, rhettinger, jcea, eric.araujo, gruszczy, meador.inge, jcon, Ramchandra Apte
2012-01-15 17:20:03pitroulinkissue13521 messages
2012-01-15 17:20:03pitroucreate