Did I find the right examples for you? yes no

All Samples(18)  |  Call(18)  |  Derive(0)  |  Import(0)

src/s/y/Sypy-HEAD/module/pypyjit/test/test_policy.py   Sypy(Download)
def test_id_any():
    from pypy.objspace.std.intobject import add__Int_Int
    assert pypypolicy.look_inside_function(add__Int_Int)
 
def test_bigint():
    from pypy.rlib.rbigint import rbigint
    assert not pypypolicy.look_inside_function(rbigint.lt.im_func)
def test_rlocale():
    from pypy.rlib.rlocale import setlocale
    assert not pypypolicy.look_inside_function(setlocale)
 
def test_astcompiler():
    from pypy.interpreter.astcompiler import ast
    assert not pypypolicy.look_inside_function(ast.AST.walkabout)
def test_pyparser():
    from pypy.interpreter.pyparser import parser
    assert not pypypolicy.look_inside_function(parser.Grammar.__init__.im_func)
 
def test_property():

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/module/pypyjit/test/test_policy.py   plexnet(Download)
def test_id_any():
    from pypy.objspace.std.default import id__ANY
    assert not pypypolicy.look_inside_function(id__ANY)
 
def test_bigint():
    from pypy.rlib.rbigint import rbigint
    assert not pypypolicy.look_inside_function(rbigint.lt.im_func)
def test_geninterp():
    d = {'_geninterp_': True}
    exec """def f():
        pass""" in d
    assert not pypypolicy.look_inside_function(d['f'])
 
def test_astcompiler():
    from pypy.interpreter.astcompiler import ast
    assert not pypypolicy.look_inside_function(ast.AST.walkabout)
def test_pyparser():
    from pypy.interpreter.pyparser import parser
    assert not pypypolicy.look_inside_function(parser.Grammar.__init__.im_func)
 
def test_pypy_module():