def __init__(self, place):
    self.place = place
    self.program_caches = dict()
    self.ctx_caches = dict()
    self.scope_caches = dict()
    self.var_caches = dict()
    p = core.Place()
    p.set_place(self.place)
    self._default_executor = core.Executor(p)
    self._closed = False
def __init__(self, place):
    self.place = place
    self.program_caches = dict()
    self.ctx_caches = dict()
    self.scope_caches = dict()
    self.var_caches = dict()
    p = core.Place()
    p.set_place(self.place)
    self._default_executor = core.Executor(p)
    self._closed = False