[pypy-commit] pypy default: re-enable the keys fastpath: the DictStrategy method was renamed to w_keys a
pjenvey
noreply at buildbot.pypy.org
Mon Mar 11 23:16:06 CET 2013
Author: Philip Jenvey <pjenvey at underboss.org>
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())
More information about the pypy-commit
mailing list