Flip to `ActorNursery.cancel_called` API

Avoid deprecation warnings, prepping for property removal.
ns_aware
Gud Boi 2026-03-13 16:48:58 -04:00
parent 066011b83d
commit 8868ff19f3
1 changed files with 2 additions and 2 deletions

View File

@ -632,7 +632,7 @@ async def _open_and_supervise_one_cancels_all_nursery(
# show frame on any (likely) internal error
if (
not an.cancelled
not an.cancel_called
and an._scope_error
):
__tracebackhide__: bool = False
@ -728,7 +728,7 @@ async def open_nursery(
if (
an
and
not an.cancelled
not an.cancel_called
and
an._scope_error
):