1
0
Fork 0
tractor/tractor
Tyler Goodlet 48017e52ab Don't kill root's immediate children when in debug
If the root calls `trio.Process.kill()` on immediate child proc teardown
when the child is using pdb, we can get stdstreams clobbering that
results in a pdb++ repl where the user can't see what's been typed. Not
killing such children on cancellation / error seems to resolve this
issue whilst still giving reliable termination. For now, code that
special path until a time it becomes a problem for ensuring zombie
reaps.
2021-06-14 09:25:56 -04:00
..
testing Drop trailing comma 2021-06-14 09:25:21 -04:00
__init__.py Expose streaming components at top level 2021-06-14 09:25:21 -04:00
_actor.py Specially raise a `ContextCancelled` for a task-context rpc 2021-06-14 09:25:21 -04:00
_child.py Docstring to the top\!, and redundant spaces goodbye\! 2020-07-29 15:39:38 -03:00
_debug.py Wait for debugger lock task context termination 2021-06-14 09:25:21 -04:00
_discovery.py Port inter-process method calls to `Portal.run_from_ns()` 2020-12-22 10:39:47 -05:00
_entry.py Support sync code breakpointing via built-in 2021-02-21 12:36:00 -05:00
_exceptions.py Fix exception typing 2021-06-14 09:25:21 -04:00
_forkserver_override.py Ignore type checks on stdlib overrides 2021-02-21 14:08:23 -05:00
_ipc.py Formatting 2021-04-28 12:23:08 -04:00
_mp_fixup_main.py Fix more stdlib typing issues with latest mypy 2021-02-21 12:48:03 -05:00
_portal.py Explicitly formalize context/streaming teardown 2021-06-14 09:25:21 -04:00
_root.py Shield around root actor cancel 2021-05-06 12:05:17 -04:00
_spawn.py Don't kill root's immediate children when in debug 2021-06-14 09:25:56 -04:00
_state.py Add a no runtime error 2021-04-28 12:23:08 -04:00
_streaming.py Always raise end of channel ; see if it fixes CI 2021-06-14 09:25:21 -04:00
_trionics.py Be more pedantic with error handling 2021-06-14 09:25:21 -04:00
log.py Add a "runtime" log level 2020-12-26 15:45:45 -05:00
msg.py Adjustments for non-frozen context dataclass change 2021-06-14 09:25:21 -04:00