[pypy-svn] r20420 - pypy/branch/somepbc-refactoring/pypy/translator/goal

mwh at codespeak.net mwh at codespeak.net
Wed Nov 30 11:48:47 CET 2005


Author: mwh
Date: Wed Nov 30 11:48:47 2005
New Revision: 20420

Modified:
   pypy/branch/somepbc-refactoring/pypy/translator/goal/query.py
Log:
fix arigo's fixes until targetrpystonedalone works.


Modified: pypy/branch/somepbc-refactoring/pypy/translator/goal/query.py
==============================================================================
--- pypy/branch/somepbc-refactoring/pypy/translator/goal/query.py	(original)
+++ pypy/branch/somepbc-refactoring/pypy/translator/goal/query.py	Wed Nov 30 11:48:47 2005
@@ -565,10 +565,10 @@
             funcs = dict.fromkeys([desc.funcdesc
                                    for desc in meth.s_value.descriptions])
             for subcls in subclasses:
-                if not subcls.find_source_for(name):
+                if not subcls.classdesc.find_source_for(name):
                     continue
-                c = subcls.read_attribute(name)
-                if isinstance(c, Constant):
+                c = subcls.classdesc.read_attribute(name)
+                if isinstance(c, flowmodel.Constant):
                     if not isinstance(c.value, (types.FunctionType,
                                                 types.MethodType)):
                         continue



More information about the Pypy-commit mailing list