You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
fix: fix signature of AsyncListener._respond_query()
Fix `AsyncListener._respond_query()` to use `DNSIncoming` type
for the `msg` argument, matching `handle_query_or_defer()`. This fixes
the following error with Cython 3.1.0rc1:
```
Error compiling Cython file:
------------------------------------------------------------
...
def _cancel_any_timers_for_addr(self, addr: _str) -> None:
"""Cancel any future truncated packet timers for the address."""
if addr in self._timers:
self._timers.pop(addr).cancel()
def _respond_query(
^
------------------------------------------------------------
src/zeroconf/_listener.py:225:4: Signature not compatible with previous declaration
Error compiling Cython file:
------------------------------------------------------------
...
object port,
object transport,
tuple v6_flow_scope
)
cpdef _respond_query(
^
------------------------------------------------------------
src/zeroconf/_listener.pxd:51:24: Previous declaration is here
```
0 commit comments