From 1628fd1d7be1ba34c9ab8be681662322d034b171 Mon Sep 17 00:00:00 2001 From: Tyler Goodlet Date: Thu, 10 Apr 2025 23:53:35 -0400 Subject: [PATCH] Another `tn` eg-loosify inside `ActorNursery.cancel()`.. --- tractor/_supervise.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tractor/_supervise.py b/tractor/_supervise.py index ab3a2a94..07ae8bb3 100644 --- a/tractor/_supervise.py +++ b/tractor/_supervise.py @@ -316,7 +316,9 @@ class ActorNursery: child_count: int = len(children) msg: str = f'Cancelling actor nursery with {child_count} children\n' with trio.move_on_after(3) as cs: - async with trio.open_nursery() as tn: + async with trio.open_nursery( + strict_exception_groups=False, + ) as tn: subactor: Actor proc: trio.Process