o
    i                     @   s:   d Z ddlmZ ddlmZ g dZdedefddZd	S )
z2Import basic exposure of libzmq C API as a backend    )import_module)Dict)ContextSocketFrameMessagedeviceproxyproxy_steerablezmq_pollstrerror	zmq_errnohascurve_keypaircurve_publiczmq_version_infoIPC_PATH_MAX_LENnamereturnc              
      s\   zt |  W n ty     ty$ } ztd|  d| |d}~ww  fddtD S )zSelect the pyzmq backendz
Importing z failed with Nc                    s   i | ]}|t  |qS  )getattr).0keymodr   M/var/www/edux/Edux_v2/venv/lib/python3.10/site-packages/zmq/backend/select.py
<dictcomp>$   s    z"select_backend.<locals>.<dictcomp>)r   ImportError	Exception
public_api)r   er   r   r   select_backend   s   r!   N)__doc__	importlibr   typingr   r   strr!   r   r   r   r   <module>   s
    