[pypy-svn] r58388 - pypy/branch/2.5-merge/pypy/objspace/flow
fijal at codespeak.net
fijal at codespeak.net
Tue Sep 23 16:59:11 CEST 2008
Author: fijal
Date: Tue Sep 23 16:59:10 2008
New Revision: 58388
Modified:
pypy/branch/2.5-merge/pypy/objspace/flow/objspace.py
Log:
fix flow objspace tests
Modified: pypy/branch/2.5-merge/pypy/objspace/flow/objspace.py
==============================================================================
--- pypy/branch/2.5-merge/pypy/objspace/flow/objspace.py (original)
+++ pypy/branch/2.5-merge/pypy/objspace/flow/objspace.py Tue Sep 23 16:59:10 2008
@@ -218,6 +218,18 @@
return None
+ def abstract_issubclass(self, w_obj, w_cls, failhard=False):
+ return self.issubtype(w_obj, w_cls)
+
+ def abstract_isinstance(self, w_obj, w_cls):
+ return self.isinstance(w_obj, w_cls)
+
+ def abstract_isclass(self, w_obj):
+ return self.isinstance(w_obj, self.w_type)
+
+ def abstract_getclass(self, w_obj):
+ return self.type(w_obj)
+
def build_flow(self, func, constargs={}):
"""
"""
More information about the Pypy-commit
mailing list