[pypy-svn] r31360 - pypy/dist/pypy/interpreter

pedronis at codespeak.net pedronis at codespeak.net
Thu Aug 17 11:14:28 CEST 2006


Author: pedronis
Date: Thu Aug 17 11:14:27 2006
New Revision: 31360

Modified:
   pypy/dist/pypy/interpreter/baseobjspace.py
Log:
this should have been part of 26659
"setattr doesn't anymore force attribute names to be string in 2.4"



Modified: pypy/dist/pypy/interpreter/baseobjspace.py
==============================================================================
--- pypy/dist/pypy/interpreter/baseobjspace.py	(original)
+++ pypy/dist/pypy/interpreter/baseobjspace.py	Thu Aug 17 11:14:27 2006
@@ -386,7 +386,6 @@
         return self.int_w(self.hash(w_obj))
 
     def set_str_keyed_item(self, w_obj, w_key, w_value):
-        w_strkey = self.wrap(self.str_w(w_key)) # Force the key to a space.w_str
         return self.setitem(w_obj, w_strkey, w_value)
     
     def finditem(self, w_obj, w_key):



More information about the Pypy-commit mailing list