
    Zd                     :    d Z ddlmZ ddlmZ g dZdedef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                     	 t          |           n2# t          $ r  t          $ r}t          d|  d|           |d}~ww xY wfdt          D             S )zSelect the pyzmq backendz
Importing z failed with Nc                 2    i | ]}|t          |          S  )getattr).0keymods     2lib/python3.11/site-packages/zmq/backend/select.py
<dictcomp>z"select_backend.<locals>.<dictcomp>$   s%    999sCc""999    )r   ImportError	Exception
public_api)r   er   s     @r   select_backendr$      s    FD!!    F F F=t==!==>>AEF9999j9999s    A=AN)__doc__	importlibr   typingr   r"   strr$   r   r   r   <module>r)      sn    8 8
 $ # # # # #        
&: : : : : : : :r   