New submission from James Lawrie :
The datagram_received:
def datagram_received(self, data, addr):
if self.recvfrom:
self.recvfrom.set_result((data, addr))
self.recvfrom = None
Throws an exception if self.recvfrom is a Future Cancelled:
Exception in callback
James Lawrie added the comment:
Sorry. This was a pebkac error, I was setting nameserver instead of nameservers
--
resolution: -> not a bug
stage: -> resolved
status: open -> closed
___
Python tracker
<https://bugs.python.or
New submission from James Lawrie :
The DNS async resolver allows you to specify a list of nameservers to use, but
they are ignored and the system nameservers are used instead.
Test code below demonstrating the issue:
# cat test.py
import dns.asyncresolver
import asyncio
from pprint import