tractor/tractor
Tyler Goodlet c85606075d Mv `Actor._do_handshake()` to `Channel`, add `.aid`
Finally.. i've been meaning todo this for ages since the
actor-id-swap-as-handshake is better layered as part of the IPC msg-ing
machinery and then let's us encapsulate the connection-time-assignment
of a remote peer's `Aid` as a new `Channel.aid: Aid`. For now we
continue to offer the `.uid: tuple[str, str]` attr (by delegating to the
`.uid` field) since there's still a few things relying on it in the
runtime and ctx layers

Nice bonuses from this,
- it's very easy to get the peer's `Aid.pid: int` from anywhere in an
  IPC ctx by just reading it from the chan.
- we aren't saving more then the wire struct-msg received.

Also add deprecation warnings around usage to get us moving on porting
the rest of consuming runtime code to the new attr!
2025-04-06 22:06:42 -04:00
..
_testing General improvements 2025-03-27 20:36:45 -03:00
devx Move `DebugRequestError` to `._exceptions` 2025-04-06 22:06:42 -04:00
experimental Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
ipc Mv `Actor._do_handshake()` to `Channel`, add `.aid` 2025-04-06 22:06:42 -04:00
msg Add an `Actor.pformat()` 2025-04-06 22:06:42 -04:00
trionics Use `collapse_eg()` in broadcaster suite 2025-03-27 13:38:47 -04:00
__init__.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
_addr.py More `._addr` boxing refinements 2025-04-06 22:06:42 -04:00
_child.py Adjust `._child` instantiation of `Actor` to use newly named `uuid` arg 2025-04-06 22:06:41 -04:00
_clustering.py Clean up some imports in `._clustering` 2025-03-27 13:38:47 -04:00
_context.py Finally switch to using address protocol in all runtime 2025-04-06 22:02:18 -04:00
_discovery.py Adjust imports to use new `UnwrappedAddress` 2025-04-06 22:03:07 -04:00
_entry.py Adjust imports to use new `UnwrappedAddress` 2025-04-06 22:03:07 -04:00
_exceptions.py Move `DebugRequestError` to `._exceptions` 2025-04-06 22:06:42 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_multiaddr.py Fix doc string "its" typo.. 2025-03-20 19:50:31 -04:00
_portal.py Bit of multi-line styling for `LocalPortal` 2025-04-06 22:06:41 -04:00
_root.py Factor `breakpoint()` blocking into `@acm` 2025-04-06 22:06:42 -04:00
_rpc.py Emphasize internal error block header-comment a bit 2025-04-06 22:06:41 -04:00
_runtime.py Mv `Actor._do_handshake()` to `Channel`, add `.aid` 2025-04-06 22:06:42 -04:00
_spawn.py Adjust imports to use new `UnwrappedAddress` 2025-04-06 22:03:07 -04:00
_state.py Rework/simplify transport addressing 2025-04-06 22:03:07 -04:00
_streaming.py Adjust lowlevel-tb hiding logic for `MsgStream` 2025-04-06 22:06:41 -04:00
_supervise.py Allocate bind-addrs in subactors 2025-04-06 22:03:07 -04:00
log.py move tractor._ipc.py into tractor.ipc._chan.py 2025-03-27 20:36:45 -03:00
to_asyncio.py Continue supporting py3.11+ 2025-03-27 13:24:25 -04:00