Add #TODO for `._context` to use `.msg.Aid`

free_threading_prep
Tyler Goodlet 2025-07-04 15:01:29 -04:00
parent c0058024c2
commit b244cf844d
1 changed files with 2 additions and 0 deletions

View File

@ -743,6 +743,8 @@ class Context:
# cancelled, NOT their reported canceller. IOW in the
# latter case we're cancelled by someone else getting
# cancelled.
#
# !TODO, switching to `Actor.aid` here!
if (canc := error.canceller) == self._actor.uid:
whom: str = 'us'
self._canceller = canc