o
    0×¾gÀ  ã                   @   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   úb/var/www/html/backend_erp/backend_erp_env/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   ÿ