Author: Philip Jenvey <[email protected]>
Branch: 
Changeset: r62299:977a0cb12965
Date: 2013-03-11 15:15 -0700
http://bitbucket.org/pypy/pypy/changeset/977a0cb12965/

Log:    re-enable the keys fastpath: the DictStrategy method was renamed to
        w_keys a while back

diff --git a/pypy/objspace/std/dictproxyobject.py 
b/pypy/objspace/std/dictproxyobject.py
--- a/pypy/objspace/std/dictproxyobject.py
+++ b/pypy/objspace/std/dictproxyobject.py
@@ -82,7 +82,7 @@
     def length(self, w_dict):
         return len(self.unerase(w_dict.dstorage).dict_w)
 
-    def keys(self, w_dict):
+    def w_keys(self, w_dict):
         space = self.space
         return space.newlist_str(self.unerase(w_dict.dstorage).dict_w.keys())
 
_______________________________________________
pypy-commit mailing list
[email protected]
http://mail.python.org/mailman/listinfo/pypy-commit

Reply via email to