tractor/tractor/msg
Tyler Goodlet 3a3fd36890 Fix msg-draining on `parent_never_opened_stream`!
Repairs a bug in `drain_to_final_msg()` where in the `Yield()` case
block we weren't guarding against the `ctx._stream is None` edge case
which should be treated a `continue`-draining (not a `break` or
attr-error!!) situation since the peer task maybe be continuing to send
`Yield` but has not yet sent an outcome msg (one of
`Return/Error/ContextCancelled`) to terminate the loop. Ensure we
explicitly warn about this case as well as `.cancel()` emit on a taskc.

Thanks again to @guille for discovering this!

Also add temporary `.info()`s around rxed `Return` msgs as part of
trying to debug a different bug discovered while updating the
context-semantics test suite (in a prior commit).
2025-03-11 14:31:53 -04:00
..
__init__.py Finally get type-extended `msgspec` fields workinn 2025-03-10 12:18:26 -04:00
_codec.py Tweak type-error messages for when `ext_types` is missing 2025-03-10 12:18:26 -04:00
_exts.py Offer a `mods: list` to `dec_type_union()`; drop importing this-mod 2025-03-10 12:18:26 -04:00
_ops.py Fix msg-draining on `parent_never_opened_stream`! 2025-03-11 14:31:53 -04:00
pretty_struct.py Draft a (pretty)`Struct.fields_diff()` 2024-12-10 14:12:37 -05:00
ptr.py `NamespacePath._mk_fqnp()` handle `__mod__` for methods 2024-04-18 15:10:27 -04:00
types.py Finally get type-extended `msgspec` fields workinn 2025-03-10 12:18:26 -04:00