From 1929320b777867f3c2cbf4a421e978be18b436f4 Mon Sep 17 00:00:00 2001 From: Remy Tuyeras Date: Tue, 9 Sep 2025 22:54:08 -0400 Subject: [PATCH] polished comments --- summoner/client/client.py | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/summoner/client/client.py b/summoner/client/client.py index 3ec5ce6..94a30b0 100644 --- a/summoner/client/client.py +++ b/summoner/client/client.py @@ -926,8 +926,7 @@ def _route_accepts( # ----[ Build Sender Batch ]---- senders: list[tuple[str, Sender]] = [] - # De-dup set: at most one sender per (route, key-from-recv) this cycle. - # `key` is what your receiver/tape activation produced (e.g. "initiator:"). + # De-dup set: at most one sender per (route, key-from-recv, recv-handler-name) this cycle. emitted: set[tuple[str, Optional[str], str]] = set() for route, routed_senders in sender_index.items(): @@ -945,7 +944,7 @@ def _route_accepts( if sender_parsed_route is None: continue - # Iterate pending in queue order; first match "wins" for this (route,key) + # Iterate pending in queue order; first match "wins" for this (route,key,fn_name) for (priority, key, parsed_route, event) in pending: if _route_accepts(sender_parsed_route, parsed_route) and sender.responds_to(event): dedup_key = (route, key, sender.fn.__name__) # key scopes to the activation thread/peer