Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r84609:d4f72dd6b90a
Date: 2016-05-22 16:47 -0700
http://bitbucket.org/pypy/pypy/changeset/d4f72dd6b90a/

Log:    Backed out changeset ba47fac77ffc, this is still needed
        unfortunately

diff --git a/pypy/objspace/std/typeobject.py b/pypy/objspace/std/typeobject.py
--- a/pypy/objspace/std/typeobject.py
+++ b/pypy/objspace/std/typeobject.py
@@ -445,7 +445,7 @@
         cached_version_tag = cache.versions[method_hash]
         if cached_version_tag is version_tag:
             cached_name = cache.names[method_hash]
-            if cached_name is name:
+            if cached_name == name:
                 tup = cache.lookup_where[method_hash]
                 if space.config.objspace.std.withmethodcachecounter:
                     cache.hits[name] = cache.hits.get(name, 0) + 1
_______________________________________________
pypy-commit mailing list
[email protected]
https://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to