Did I find the right examples for you? yes no

All Samples(14)  |  Call(9)  |  Derive(0)  |  Import(5)

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/jit/tl/pypyjit.py   plexnet(Download)
import py, os
 
from pypy.objspace.std import Space
from pypy.config.translationoption import set_opt_level
from pypy.config.pypyoption import get_pypy_config, set_pypy_opt_level
import sys, pdb
 
space = Space(config)
w_dict = space.newdict(module=True)
 

src/s/y/Sypy-HEAD/jit/tl/pypyjit.py   Sypy(Download)
import py, os
 
from pypy.objspace.std import Space
from pypy.config.translationoption import set_opt_level
from pypy.config.pypyoption import get_pypy_config, set_pypy_opt_level
import sys, pdb
 
space = Space(config)
w_dict = space.newdict(module=True)
 

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/tool/traceop.py   plexnet(Download)
 
    # Wrap up std space, with a trace space
    tspace = trace.create_trace_space(std.Space())
 
    def func(x):

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/objspace/thunk.py   plexnet(Download)
def Space(*args, **kwds):
    # for now, always make up a wrapped StdObjSpace
    from pypy.objspace import std
    space = std.Space(*args, **kwds)
    patch_space_in_place(space, 'thunk', proxymaker)

src/s/y/Sypy-HEAD/tool/traceop.py   Sypy(Download)
 
    # Wrap up std space, with a trace space
    tspace = trace.create_trace_space(std.Space())
 
    def func(x):

src/s/y/Sypy-HEAD/objspace/thunk.py   Sypy(Download)
def Space(*args, **kwds):
    # for now, always make up a wrapped StdObjSpace
    from pypy.objspace import std
    space = std.Space(*args, **kwds)
    patch_space_in_place(space, 'thunk', proxymaker)

src/s/y/Sypy-HEAD/translator/goal/test2/test_nanos.py   Sypy(Download)
this_dir = os.path.dirname(app_main.__file__)
 
from pypy.objspace.std import Space
from pypy.translator.goal.targetpypystandalone import create_entry_point
from pypy.tool.udir import udir
def test_nanos():
    space = Space()
    # manually imports app_main.py
    filename = os.path.join(this_dir, 'app_main.py')
    w_dict = space.newdict()

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/test/test_rpystone.py   plexnet(Download)
from pypy.translator.geninterplevel import translate_as_module, __file__ as __
from pypy.objspace.std import Space
import os
fname = os.path.join(os.path.dirname(__), "test", "rpystone.py")
src = file(fname).read()
def test_rpystone():
    space = Space()
    modic = init(space)
    entry = space.getitem(modic, space.wrap("entrypoint"))
    # warm-up,to get everything translated

src/p/l/plexnet-HEAD/third_party/generic/pypy/pypy/translator/goal/test2/test_nanos.py   plexnet(Download)
this_dir = os.path.dirname(app_main.__file__)
 
from pypy.objspace.std import Space
from pypy.translator.goal.targetpypystandalone import create_entry_point
 
def test_nanos():
    space = Space()