B
    ÐH/\À  ã               @   s"   d dl Z dgZG dd„ deƒZdS )é    NÚResolverc               @   sD   e Zd ZdZddd„Zdd„ Zx dD ]Zeee	eƒƒe
ƒ e< q$W 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   s   d S )N© )ÚselfZhubr   r   ú7lib/python3.7/site-packages/gevent/resolver/blocking.pyÚ__init__    s    zResolver.__init__c             C   s   d S )Nr   )r   r   r   r   Úclose#   s    zResolver.close)ZgethostbynameZgethostbyname_exZgetaddrinfoZgethostbyaddrZgetnameinfo)N)Ú__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   