[pypy-svn] r30641 - pypy/dist/pypy/rpython/ootypesystem

pedronis at codespeak.net pedronis at codespeak.net
Thu Jul 27 16:43:52 CEST 2006


Author: pedronis
Date: Thu Jul 27 16:43:51 2006
New Revision: 30641

Modified:
   pypy/dist/pypy/rpython/ootypesystem/rclass.py
Log:
this should fix ootyping of PyPy itself. the tests in rpython/ still pass.

Someone ought to write a test about this.



Modified: pypy/dist/pypy/rpython/ootypesystem/rclass.py
==============================================================================
--- pypy/dist/pypy/rpython/ootypesystem/rclass.py	(original)
+++ pypy/dist/pypy/rpython/ootypesystem/rclass.py	Thu Jul 27 16:43:51 2006
@@ -211,7 +211,7 @@
                         # attrdef is for a method
                         if mangled in allclassattributes:
                             raise TyperError("method overrides class attribute")
-                        allmethods[mangled] = name, s_value
+                        allmethods[mangled] = name, self.classdef.lookup_filter(s_value)
                         continue
                 # class attribute
                 if mangled in allmethods:



More information about the Pypy-commit mailing list