Module Expr Str ImportFrom alias ImportFrom alias ClassDef bases NameLoad body FunctionDef arguments args NameParam defaults body Assign AttributeStore NameLoad attr Call NameLoad Dict Str NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr ListLoad Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Return Num decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Call NameLoad decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call NameLoad Num Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam NameParam defaults body Return NameLoad decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Expr Call NameLoad NameLoad Str Assert CompareEq Call NameLoad Num Num Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args NameParam defaults body Return Num decorator_list ClassDef bases NameLoad body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareEq Call Call AttributeLoad NameLoad attr Call NameLoad Num decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert Call AttributeLoad Call NameLoad NameLoad attr Str decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assert CompareIs AttributeLoad NameLoad attr AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body FunctionDef arguments args defaults body Pass decorator_list Assign NameStore Call AttributeLoad NameLoad attr NameLoad Assign AttributeStore NameLoad attr Str Assert CompareEq AttributeLoad NameLoad attr Str Delete AttributeDel NameLoad attr Assert CompareIs AttributeLoad NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam defaults body ClassDef bases NameLoad body Pass decorator_list FunctionDef arguments args NameParam defaults body Return Num decorator_list ClassDef bases NameLoad body Pass decorator_list ImportFrom alias identifier Assign NameStore Call NameLoad ClassDef bases NameLoad body FunctionDef arguments args NameParam NameParam defaults body Assign AttributeStore NameLoad attr NameLoad decorator_list FunctionDef arguments args NameParam NameParam defaults vararg kwarg body Return Call Call NameLoad AttributeLoad NameLoad attr NameLoad NameLoad NameLoad decorator_list decorator_list Assign NameStore Call NameLoad Call NameLoad NameLoad AttributeLoad Call NameLoad NameLoad attr Assign NameStore Call NameLoad NameLoad AttributeLoad Call NameLoad NameLoad attr Assign AttributeStore NameLoad attr NameLoad Assert CompareEq Call AttributeLoad NameLoad attr Num decorator_list decorator_list
N/A N/A  test proxy on functions and other crazy goodies
 pypy.conftest gettestobjspace pypy.objspace.std.test.test_proxy AppProxyBasic AppTestProxyFunction N/A object N/A setup_class N/A N/A cls N/A N/A N/A N/A cls space N/A gettestobjspace N/A objspace.std.withtproxy True N/A setup_method N/A N/A self meth N/A N/A N/A N/A self w_get_proxy N/A N/A N/A self space appexec N/A ():
        class Controller(object):
            def __init__(self, obj):
                self.obj = obj
    
            def perform(self, name, *args, **kwargs):
                return getattr(self.obj, name)(*args, **kwargs)
        def get_proxy(f):
            import types
            from __pypy__ import tproxy as proxy
            return proxy(types.FunctionType, Controller(f).perform)
        return get_proxy
         N/A test_function_noargs N/A N/A self N/A N/A f N/A N/A N/A N/A N/A 3 N/A N/A fun N/A N/A self get_proxy f N/A N/A N/A fun N/A f N/A test_simple_function N/A N/A self N/A N/A f N/A N/A x N/A N/A N/A x N/A N/A fun N/A N/A self get_proxy f N/A N/A N/A fun 3 N/A f 3 N/A test_function_args N/A N/A self N/A N/A f N/A N/A x y N/A N/A N/A x N/A N/A fun N/A N/A self get_proxy f N/A N/A raises TypeError fun(3) N/A N/A N/A fun 1 2 1 N/A test_method_bind N/A N/A self N/A N/A f N/A N/A self N/A N/A N/A 3 N/A A N/A object N/A N/A N/A N/A fun N/A N/A self get_proxy f N/A N/A N/A N/A N/A fun __get__ N/A A 3 N/A test_function_repr N/A N/A self N/A N/A f N/A N/A N/A N/A N/A N/A N/A fun N/A N/A self get_proxy f N/A N/A N/A N/A repr fun startswith <function f N/A test_func_code N/A N/A self N/A N/A f N/A N/A N/A N/A N/A N/A N/A fun N/A N/A self get_proxy f N/A N/A N/A fun func_code N/A f func_code N/A test_funct_prop_setter_del N/A N/A self N/A N/A f N/A N/A N/A N/A N/A N/A N/A fun N/A N/A self get_proxy f N/A N/A fun __doc__ aaa N/A N/A N/A f __doc__ aaa N/A N/A fun __doc__ N/A N/A N/A f __doc__ None N/A test_proxy_bind_method N/A N/A self N/A N/A A N/A object N/A N/A N/A f N/A N/A self N/A N/A N/A 3 N/A AA N/A object N/A N/A N/A __pypy__ tproxy proxy N/A a N/A A X N/A object N/A __init__ N/A N/A self x N/A N/A N/A N/A self x x N/A f N/A N/A self name N/A args kwargs N/A N/A N/A N/A getattr N/A self x name args kwargs N/A N/A N/A y N/A proxy N/A type f N/A N/A X f f N/A x N/A proxy AA N/A N/A X a f N/A N/A AA f y N/A N/A N/A N/A x f 3 N/A N/A