1
0
Fork 0
tractor/tractor
Tyler Goodlet b6ae77b5ac Use `pkgutils.resolve_name()` and a `str` subtype
Python 3.9's new object resolver + a `str` is much simpler then mucking
with tuples (and easier to serialize). Include a `.to_tuple()` formatter
since we still are passing the module namespace and function name
separately inside the runtime's message format but in theory we might be
able to simplify this depending on how we would change the support for
`enable_modules:list[str]` in the spawn API.

Thanks to @Fuyukai for pointing `resolve_name()` which I didn't know
about before!
2022-01-30 11:26:34 -05:00
..
experimental Better idea: start a `tractor.experimental` subpkg 2022-01-29 14:03:55 -05:00
testing Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
trionics Drop leftover print 2022-01-21 12:49:26 -05:00
__init__.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_actor.py Add a `Portal.cancel_actor()` test 2021-12-17 09:38:04 -05:00
_child.py Support asyncio actors with the trio spawner backend 2021-12-17 09:38:01 -05:00
_clustering.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_debug.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_discovery.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_entry.py More doc string style tweaks 2021-12-17 09:38:04 -05:00
_exceptions.py Re-wrap and raise `asyncio.CancelledError` 2021-12-17 09:38:04 -05:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_mp_fixup_main.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_portal.py Use `pkgutils.resolve_name()` and a `str` subtype 2022-01-30 11:26:34 -05:00
_root.py WIP redo asyncio async gen streaming 2021-12-17 09:38:04 -05:00
_spawn.py Use `.exitcode` which is poll + error handling 2022-01-21 12:49:26 -05:00
_state.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_streaming.py Don't set `Context._error` to expected `ContextCancelled` 2021-12-16 19:59:10 -05:00
_supervise.py Fill out nursery docstring 2021-12-17 09:38:04 -05:00
log.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
msg.py Add back blank `msg.py` 2022-01-29 14:22:15 -05:00
to_asyncio.py Add agpl header 2021-12-17 09:39:30 -05:00