The `functools` rewrite forwarded all `kwargs` through `_main(**kwargs)` to `wrapped(**kwargs)` unchanged — the Windows `start_method` default could leak to test fns that don't declare it. The pre-wrapt code guarded against this with named wrapper params. Extract runtime settings (`reg_addr`, `loglevel`, `debug_mode`, `start_method`) as closure locals in `wrapper`; `_main` uses them directly for `open_root_actor()` while `kwargs` passes to `wrapped()` unmodified. Review: PR #439 (Copilot) https://github.com/goodboy/tractor/pull/439#pullrequestreview-4091005202 (this patch was generated in some part by [`claude-code`][claude-code-gh]) [claude-code-gh]: https://github.com/anthropics/claude-code |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| addr.py | ||
| fault_simulation.py | ||
| pytest.py | ||
| samples.py | ||