[pypy-svn] r31733 - pypy/branch/no-zeroing-assumption/pypy/rpython/rctypes

mwh at codespeak.net mwh at codespeak.net
Sun Aug 27 15:55:50 CEST 2006


Author: mwh
Date: Sun Aug 27 15:55:49 2006
New Revision: 31733

Modified:
   pypy/branch/no-zeroing-assumption/pypy/rpython/rctypes/rmodel.py
Log:
add some comments to some slightly iffy code i checked in by mistake.
it makes the tests pass, but....


Modified: pypy/branch/no-zeroing-assumption/pypy/rpython/rctypes/rmodel.py
==============================================================================
--- pypy/branch/no-zeroing-assumption/pypy/rpython/rctypes/rmodel.py	(original)
+++ pypy/branch/no-zeroing-assumption/pypy/rpython/rctypes/rmodel.py	Sun Aug 27 15:55:49 2006
@@ -277,6 +277,7 @@
                 subdst = dest[i]
                 reccopy(subsrc, subdst)
             else:
+                # this is a hack XXX de-hack this
                 try:
                     llvalue = source[i]
                     dest[i] = llvalue
@@ -290,6 +291,7 @@
                 subdst = getattr(dest,   name)
                 reccopy(subsrc, subdst)
             else:
+                # this is a hack XXX de-hack this
                 try:
                     llvalue = getattr(source, name)
                     setattr(dest, name, llvalue)



More information about the Pypy-commit mailing list