]> granicus.if.org Git - python/commit
Got test_mutants.py working. One set of changes was straightforward:
authorGuido van Rossum <guido@python.org>
Thu, 24 Aug 2006 21:29:26 +0000 (21:29 +0000)
committerGuido van Rossum <guido@python.org>
Thu, 24 Aug 2006 21:29:26 +0000 (21:29 +0000)
commitdc5f6b232be9f669f78d627cdcacc07d2ba167af
treea82abef2401c1fae00c67a176dd66710bbddc2f3
parent801f0d78b5582a325d489831b991adb873067e80
Got test_mutants.py working.  One set of changes was straightforward:
use __eq__ instead of __cmp__.  The other change is unexplained:
with a random hash code as before, it would run forever; with a constant
hash code, it fails quickly.

This found a refcount bug in dict_equal() -- I wonder if that bug is
also present in 2.5...
Lib/test/test_mutants.py
Objects/dictobject.c