[pypy-svn] r30299 - pypy/dist/pypy/objspace/std
xoraxax at codespeak.net
xoraxax at codespeak.net
Thu Jul 20 21:27:21 CEST 2006
Author: xoraxax
Date: Thu Jul 20 21:27:21 2006
New Revision: 30299
Modified:
pypy/dist/pypy/objspace/std/objspace.py
Log:
Fixed strdict speed regression, hopefully. Thanks to Armin spotting the XXX.
Modified: pypy/dist/pypy/objspace/std/objspace.py
==============================================================================
--- pypy/dist/pypy/objspace/std/objspace.py (original)
+++ pypy/dist/pypy/objspace/std/objspace.py Thu Jul 20 21:27:21 2006
@@ -466,8 +466,7 @@
if not self.config.objspace.std.withstrdict:
return w_obj.content.get(w_key, None)
else:
- # XXX fix this here
- pass
+ return w_obj.get(w_key, None)
return ObjSpace.finditem(self, w_obj, w_key)
def set_str_keyed_item(self, w_obj, w_key, w_value):
More information about the Pypy-commit
mailing list