]> git.ipfire.org Git - thirdparty/dnspython.git/commit
Various small improvements (#1248)
authordarkdragon-001 <darkdragon-001@users.noreply.github.com>
Thu, 1 Jan 2026 21:16:41 +0000 (22:16 +0100)
committerGitHub <noreply@github.com>
Thu, 1 Jan 2026 21:16:41 +0000 (13:16 -0800)
commit864308a3df742776777a8f02407e48fa852963b0
tree133d329fcac7a9705c24dd287dd7f2b1cfcfe204
parent78792389627cf9bbd41022b92f600be38626d355
Various small improvements (#1248)

* Use name parameter

This increases clarity and is less error-prone.

* Improve optional error ignore

* Prefix private classes with underscore to avoid confusion

The public interface is the base class in dns._asyncbackend.

* Inherit from asyncio.DatagramProtocol
dns/_asyncio_backend.py
dns/asyncquery.py