1
0
Fork 0
tractor/tractor
Tyler Goodlet d4d09b6071 Factor non-yield stream msg processing into helper
Since both `MsgStream.receive()` and `.receive_nowait()` need the same
raising logic when a non-stream msg arrives (so that maybe an
appropriate IPC translated error can be raised) move the `KeyError`
handler code into a new `._streaming._raise_from_no_yield_msg()` func
and call it from both methods to make the error-interface-raising
symmetrical across both methods.
2025-03-14 13:36:16 -04:00
..
experimental Move move context code into new `._context` mod 2023-05-15 10:00:45 -04:00
trionics Mk `gather_contexts()` support `@acm`s yielding `None` 2025-03-14 13:36:16 -04:00
__init__.py Move move context code into new `._context` mod 2023-05-15 10:00:45 -04:00
_child.py Rename our core module to `_runtime` 2022-09-15 23:41:28 -04:00
_clustering.py Passthrough runtime kwargs from `open_actor_cluster()` 2022-12-11 19:56:08 -05:00
_context.py Always raise remote (cancelled) error if set 2025-03-14 13:36:16 -04:00
_debug.py Drop commented `pdbpp` import logic 2023-05-15 09:01:55 -04:00
_discovery.py More single doc-strs in discovery mod 2023-05-15 10:00:45 -04:00
_entry.py Change a bunch of log levels to cancel, including any `ContextCancelled` handling 2023-05-15 10:00:45 -04:00
_exceptions.py Msg-ified `ContextCancelled`s sub-error type should always be just, its type.. 2025-03-14 13:36:16 -04:00
_forkserver_override.py Re-license code base for distribution under AGPL 2021-12-14 23:33:27 -05:00
_ipc.py Adjust all default is `None` annots (per new `mypy`) 2022-12-12 13:18:22 -05:00
_mp_fixup_main.py Avoid importing mp for as long as possible 2022-02-17 11:55:26 -05:00
_portal.py Write more comprehensive `Portal.cancel_actor()` doc str 2025-03-14 13:36:16 -04:00
_root.py Remote `Context` cancellation semantics rework B) 2023-05-15 10:00:45 -04:00
_runtime.py Teensie tidy up on actor doc string 2025-03-14 13:36:16 -04:00
_spawn.py Just import `mp` top level in `._spawn` 2023-06-14 15:32:15 -04:00
_state.py Move `NoRuntime` import inside `current_actor()` to avoid cycle 2023-05-15 10:00:45 -04:00
_streaming.py Factor non-yield stream msg processing into helper 2025-03-14 13:36:16 -04:00
_supervise.py Hide actor nursery exit frame 2023-05-14 21:24:26 -04:00
log.py .log: more correct handling for `get_logger(__name__)` usage 2025-03-14 13:36:16 -04:00
msg.py Make `NamespacePath` work on object refs 2025-03-14 13:36:16 -04:00
to_asyncio.py Move `trio` scope outside first inter-task-chan receive 2022-10-11 20:00:05 -04:00