[pypy-svn] r17159 - pypy/dist/pypy/objspace/std

tismer at codespeak.net tismer at codespeak.net
Thu Sep 1 23:12:04 CEST 2005


Author: tismer
Date: Thu Sep  1 23:12:03 2005
New Revision: 17159

Modified:
   pypy/dist/pypy/objspace/std/model.py
Log:
just a comment why I think we do need assignment of space to all objects

Modified: pypy/dist/pypy/objspace/std/model.py
==============================================================================
--- pypy/dist/pypy/objspace/std/model.py	(original)
+++ pypy/dist/pypy/objspace/std/model.py	Thu Sep  1 23:12:03 2005
@@ -120,7 +120,9 @@
     "Parent base class for wrapped objects."
 
     def __init__(w_self, space):
-        w_self.space = space     # XXX not sure this is ever used any more
+        w_self.space = space    # XXX not sure this is ever used any more
+        # YYY I think we need it for calling hash() from an ll dicts impl.
+        # without explicitly passing the space.
 
     def __repr__(self):
         s = '%s(%s)' % (



More information about the Pypy-commit mailing list