o
    oi                     @   s"   d dl Z dgZG dd deZdS )    NResolverc                   @   s@   e Zd ZdZdddZdd ZdD ]Zeee	ee
 e< qdS )	r   a  
    A resolver that directly uses the system's resolver functions.

    .. caution::

        This resolver is *not* cooperative.

    This resolver has the lowest overhead of any resolver and
    typically approaches the speed of the unmodified :mod:`socket`
    functions. However, it is not cooperative, so if name resolution
    blocks, the entire thread and all its greenlets will be blocked.

    This can be useful during debugging, or it may be a good choice if
    your operating system provides a good caching resolver (such as
    macOS's Directory Services) that is usually very fast and
    functionally non-blocking.

    .. versionchanged:: 1.3a2
       This was previously undocumented and existed in :mod:`gevent.socket`.

    Nc                 C      d S N )selfhubr   r   W/var/www/html/pca-backend/venv/lib/python3.10/site-packages/gevent/resolver/blocking.py__init__       zResolver.__init__c                 C   r   r   r   )r   r   r   r   close#   r
   zResolver.close)gethostbynamegethostbyname_exgetaddrinfogethostbyaddrgetnameinfor   )__name__
__module____qualname____doc__r	   r   methodstaticmethodgetattr_socketlocalsr   r   r   r   r   	   s    
)r   __all__objectr   r   r   r   r   <module>   s   