tractor/examples/debugging
Gud Boi fc809b5275 Add basic typing to the `debugging/` examples
Sweep the `examples/debugging/` set for basic typing: add `-> None`
to all 16 bare `async def main()`s and annotate the clean
single-line `open_nursery()` bindings as `tractor.ActorNursery`.

Kept to the unambiguous, runtime-safe cases (these breakpoint/crash
demos can't be run headless); the heterogeneous
multi-line/paren-group nursery bindings + `current_actor()` returns
are left for a later pass. Continues the examples-typing bullet in
#472.

(this patch was generated in some part by [`claude-code`][claude-code-gh])
[claude-code-gh]: https://github.com/anthropics/claude-code
2026-07-02 12:32:49 -04:00
..
asyncio_bp.py Swap `open_channel_from()` to yield `(chan, first)` 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 Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
multi_daemon_subactors.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
multi_nested_subactors_error_up_through_nurseries.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
multi_subactor_root_errors.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
multi_subactors.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -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 Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
pm_in_subactor.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -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 Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -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 Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
root_cancelled_but_child_is_in_tty_lock.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
root_self_cancelled_w_error.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
root_timeout_while_child_crashed.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
shield_hang_in_sub.py Fix `SIGUSR1` tree-dump ordering in `_stackscope` 2026-06-17 17:39:44 -04:00
shielded_pause.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
subactor_bp_in_ctx.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
subactor_breakpoint.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
subactor_error.py Add basic typing to the `debugging/` examples 2026-07-02 12:32:49 -04:00
sync_bp.py Address Copilot review nits on PR #462 2026-06-18 13:37:55 -04:00