tractor/examples/debugging
Gud Boi 417b796169 Use `chan: LinkedTaskChannel` API in all aio-task fns
Convert every remaining `to_trio`/`from_trio` fn-sig style
to the new unified `chan: LinkedTaskChannel` iface added in
prior commit (c46e9ee8).

Deats,
- `to_trio.send_nowait(val)` (1st call) -> `chan.started_nowait(val)`
- `to_trio.send_nowait(val)` (subsequent) -> `chan.send_nowait(val)`
- `await from_trio.get()` -> `await chan.get()`

Converted fns,
- `sleep_and_err()`, `push_from_aio_task()` in
  `tests/test_infected_asyncio.py`
- `sync_and_err()` in `tests/test_root_infect_asyncio.py`
- `aio_streamer()` in
  `tests/test_child_manages_service_nursery.py`
- `aio_echo_server()` in
  `examples/infected_asyncio_echo_server.py`
- `bp_then_error()` in `examples/debugging/asyncio_bp.py`

Also,
- drop stale comments referencing old param names.

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-03-13 19:28:57 -04:00
..
asyncio_bp.py Use `chan: LinkedTaskChannel` API in all aio-task fns 2026-03-13 19:28:57 -04:00
debug_mode_hang.py Drop now-deprecated deps on modern `trio`/Python 2025-03-16 16:06:24 -04:00
fast_error_in_root_after_spawn.py Change `tractor.breakpoint()` to new `.pause()` in test suite 2025-03-27 13:24:25 -04:00
multi_daemon_subactors.py Various test tweaks related to 3.13 egs 2025-03-27 13:38:47 -04:00
multi_nested_subactors_error_up_through_nurseries.py Change `tractor.breakpoint()` to new `.pause()` in test suite 2025-03-27 13:24:25 -04:00
multi_subactor_root_errors.py Various test tweaks related to 3.13 egs 2025-03-27 13:38:47 -04:00
multi_subactors.py Change `tractor.breakpoint()` to new `.pause()` in test suite 2025-03-27 13:24:25 -04:00
open_ctx_modnofound.py Add basic module-not-found when opening a ctx eg. 2022-08-02 12:17:06 -04:00
per_actor_debug.py Tweaks to debugger examples 2025-03-20 23:22:45 -04:00
pm_in_subactor.py Add a `tractor.post_mortem()` API test + example 2025-03-24 14:04:52 -04:00
restore_builtin_breakpoint.py Disable `greenback` sync fn breakpointing by def 2025-07-14 00:00:13 -04:00
root_actor_breakpoint.py Change `tractor.breakpoint()` to new `.pause()` in test suite 2025-03-27 13:24:25 -04:00
root_actor_breakpoint_forever.py Change `tractor.breakpoint()` to new `.pause()` in test suite 2025-03-27 13:24:25 -04:00
root_actor_error.py Drop `tractor.run()` from all examples 2021-05-07 11:21:40 -04:00
root_cancelled_but_child_is_in_tty_lock.py Flip a couple more debug scripts to UDS tpt 2025-07-13 15:26:37 -04:00
root_self_cancelled_w_error.py Add a root-already-cancelled crash handling test 2025-08-20 10:18:52 -04:00
root_timeout_while_child_crashed.py Docs and comments tidying 2021-08-01 10:44:13 -04:00
shield_hang_in_sub.py Lul, never use `'uds'` tpt for macos test-scripts 2026-03-09 19:29:18 -04:00
shielded_pause.py Finally, officially support shielded REPL-ing! 2025-03-24 14:04:52 -04:00
subactor_bp_in_ctx.py Lul, never use `'uds'` tpt for macos test-scripts 2026-03-09 19:29:18 -04:00
subactor_breakpoint.py Flip to `.pause()` in subactor bp example 2025-03-20 23:22:45 -04:00
subactor_error.py Tweaks to debugger examples 2025-03-20 23:22:45 -04:00
sync_bp.py Mk `.devx._debug` a sub-pkg `.devx.debug` 2025-07-14 00:00:12 -04:00