%PDF- %PDF-
Direktori : /lib/python3/dist-packages/twisted/internet/__pycache__/ |
Current File : //lib/python3/dist-packages/twisted/internet/__pycache__/_resolver.cpython-312.pyc |
� Ϫ�f�% � �d � d Z ddlmZmZmZmZmZmZmZm Z m Z ddlmZm Z mZmZmZmZmZmZmZ ddlmZ ddlmZ ddlmZmZ ddlmZ ddlmZ dd l m!Z!m"Z"m#Z#m$Z$m%Z%m&Z& dd l'm(Z( ddl)m*Z* ddl+m,Z, erdd l-m.Z. ee#� G d� d� � Z/ e0eeg� Z1 e0eg� e e0eg� ee1eiZ2eeeeiZ3eed�Z4edediZ5eeeee6e7eee7e6f ee7e6e6e6f f f Z8 ee"� G d� d� � Z9 ee"� G d� d� � Z: ee%� G d� d� � Z; ee&� G d� d� � Z<y)z= IPv6-aware hostname resolution. @see: L{IHostnameResolver} � ) �AF_INET�AF_INET6� AF_UNSPEC� SOCK_DGRAM�SOCK_STREAM� AddressFamily� SocketKind�gaierror�getaddrinfo) � TYPE_CHECKING�Callable�List�NoReturn�Optional�Sequence�Tuple�Type�Union)�implementer)� _idnaBytes)�IPv4Address�IPv6Address)�Deferred)�DNSLookupError)�IAddress�IHostnameResolver�IHostResolution�IReactorThreads�IResolutionReceiver�IResolverSimple)�deferToThreadPool)�Logger)�nativeString)� ThreadPoolc �( � e Zd ZdZdefd�Zdefd�Zy)�HostResolutionz9 The in-progress resolution of a given hostname. �namec � � || _ y)zA Create a L{HostResolution} with the given name. N)r'