tractor/tractor
Tyler Goodlet fdd2da238a Add our own "transport closed" signal
This change some super old (and bad) code from the project's very early
days. For some redic reason i must have thought masking `trio`'s
internal stream / transport errors and a TCP EOF as `StopAsyncIteration`
somehow a good idea. The reality is you probably
want to know the difference between an unexpected transport error
and a simple EOF lol. This begins to resolve that by adding our own
special `TransportClosed` error to signal the "graceful" termination of
a channel's underlying transport. Oh, and this builds on the `msgspec`
integration which helped shed light on the core issues here B)
2021-09-05 16:23:10 -04:00
..
testing Drop trailing comma 2021-07-06 08:23:29 -04:00
__init__.py Export portal type at top level 2021-09-02 16:22:59 -04:00
_actor.py Always cast arbiter addr to tuple 2021-09-05 15:27:08 -04:00
_broadcast.py Fix 404ed tokio urls 2021-09-02 21:12:54 -04:00
_child.py Docstring to the top\!, and redundant spaces goodbye\! 2020-07-29 15:39:38 -03:00
_debug.py Unlock pdb tty on all possible net faults 2021-09-02 16:23:38 -04:00
_discovery.py De-densify some code 2021-07-06 08:23:30 -04:00
_entry.py Try not masking SIGINT in child processes 2021-09-02 16:22:59 -04:00
_exceptions.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_forkserver_override.py Ignore type checks on stdlib overrides 2021-02-21 14:08:23 -05:00
_ipc.py Add our own "transport closed" signal 2021-09-05 16:23:10 -04:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py Add `shield: bool` kwarg to `Portal.open_stream_from()` 2021-09-02 21:12:54 -04:00
_root.py Don't log cancelled inceptions seen by the root 2021-08-02 21:15:42 -04:00
_spawn.py Hide `_invoke()` tb, move actor error to exceptions mod 2021-07-31 13:56:26 -04:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py Add some bcaster ref sanity asserts around subscriptions 2021-09-02 21:12:54 -04:00
_trionics.py Drop shielding on root lock acquire; seems to prevent hangs 2021-09-02 16:23:38 -04:00
log.py Define explicit adapter level methods for mypy 2021-07-08 12:51:35 -04:00
msg.py Adjustments for non-frozen context dataclass change 2021-07-06 08:23:29 -04:00