[pypy-svn] r48286 - pypy/dist/pypy/rpython

fijal at codespeak.net fijal at codespeak.net
Sun Nov 4 15:16:33 CET 2007


Author: fijal
Date: Sun Nov  4 15:16:32 2007
New Revision: 48286

Modified:
   pypy/dist/pypy/rpython/rpbc.py
Log:
This effectively mutes some rpbc rtyper warnings


Modified: pypy/dist/pypy/rpython/rpbc.py
==============================================================================
--- pypy/dist/pypy/rpython/rpbc.py	(original)
+++ pypy/dist/pypy/rpython/rpbc.py	Sun Nov  4 15:16:32 2007
@@ -481,8 +481,8 @@
                 if r_value.lowleveltype is Void:
                     continue
                 try:
-                    thisattrvalue = frozendesc.attrcache[attr]
-                except KeyError:
+                    thisattrvalue = frozendesc.read_attribute(attr)
+                except AttributeError:
                     warning("Desc %r has no attribute %r" % (frozendesc, attr))
                     continue
                 llvalue = r_value.convert_const(thisattrvalue)



More information about the Pypy-commit mailing list