Author: Philip Jenvey <[email protected]>
Branch: py3k
Changeset: r84202:ba47fac77ffc
Date: 2016-05-04 16:32 -0700
http://bitbucket.org/pypy/pypy/changeset/ba47fac77ffc/

Log:    backout 25e7ce4956dd -- let's see if it's still necessary for py3k
        after the recent methodcache fixes

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 == name:
+            if cached_name is 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