From d4084b2032cc78b119f544d710791ac37330fa72 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Wed, 3 Aug 2022 14:46:53 -0400 Subject: [PATCH] Rename our core module to `_runtime` --- tractor/_child.py | 2 +- tractor/_root.py | 2 +- tractor/{_actor.py => _runtime.py} | 0 tractor/_spawn.py | 2 +- tractor/_supervise.py | 2 +- 5 files changed, 4 insertions(+), 4 deletions(-) rename tractor/{_actor.py => _runtime.py} (100%) diff --git a/tractor/_child.py b/tractor/_child.py index 7790731..91aaec4 100644 --- a/tractor/_child.py +++ b/tractor/_child.py @@ -24,7 +24,7 @@ import argparse from ast import literal_eval -from ._actor import Actor +from ._runtime import Actor from ._entry import _trio_main diff --git a/tractor/_root.py b/tractor/_root.py index b2bfbfc..a8cfde0 100644 --- a/tractor/_root.py +++ b/tractor/_root.py @@ -29,7 +29,7 @@ import warnings import trio -from ._actor import Actor, Arbiter +from ._runtime import Actor, Arbiter from . import _debug from . import _spawn from . import _state diff --git a/tractor/_actor.py b/tractor/_runtime.py similarity index 100% rename from tractor/_actor.py rename to tractor/_runtime.py diff --git a/tractor/_spawn.py b/tractor/_spawn.py index 4230bfb..78b3ba8 100644 --- a/tractor/_spawn.py +++ b/tractor/_spawn.py @@ -42,7 +42,7 @@ from ._state import ( from .log import get_logger from ._portal import Portal -from ._actor import Actor +from ._runtime import Actor from ._entry import _mp_main from ._exceptions import ActorFailure diff --git a/tractor/_supervise.py b/tractor/_supervise.py index 958d445..1bc8260 100644 --- a/tractor/_supervise.py +++ b/tractor/_supervise.py @@ -30,7 +30,7 @@ from async_generator import asynccontextmanager from ._debug import maybe_wait_for_debugger from ._state import current_actor, is_main_process from .log import get_logger, get_loglevel -from ._actor import Actor +from ._runtime import Actor from ._portal import Portal from ._exceptions import is_multi_cancelled from ._root import open_root_actor