403Webshell
Server IP : 217.160.0.135  /  Your IP : 216.73.217.85
Web Server : Apache
System : Linux www 6.18.52-i1-ampere #1203 SMP Mon Sep 14 18:29:59 CEST 2026 aarch64
User : sws1074145052 ( 1074145052)
PHP Version : 8.3.32
Disable Function : NONE
MySQL : OFF  |  cURL : ON  |  WGET : ON  |  Perl : ON  |  Python : OFF  |  Sudo : OFF  |  Pkexec : OFF
Directory :  /lib/python3/dist-packages/zmq/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/zmq/__pycache__/error.cpython-311.pyc
�

mc�c�	�x�dZddlmZddlmZmZmZGd�de��ZGd�de��Z	Gd�d	e��Z
Gd
�de��ZGd�d
e	��ZGd�de	��Z
Gd�de	e��Zdd�ZdadaGd�de��Z	ddeeeeeefeeeeffdefd�Zgd�ZdS)z 0MQ Error classes and functions.�)�EINTR)�Optional�Tuple�Unionc��eZdZdZdS)�ZMQBaseErrorz.Base exception class for 0MQ errors in Python.N��__name__�
__module__�__qualname__�__doc__���+/usr/lib/python3/dist-packages/zmq/error.pyrr
s������8�8�8�8rrc�p�eZdZUdZdZeeed<d	deedeefd�Z	defd�Z
defd�ZdS)
�ZMQErrorz�Wrap an errno style error.

    Parameters
    ----------
    errno : int
        The ZMQ errno or None.  If None, then ``zmq_errno()`` is called and
        used.
    msg : string
        Description of the error or None.
    N�errno�msgc���ddlm}m}|�
|��}t|t��r$||_|�||��|_dS||_dS|�t
|��|_dS||_dS)aWrap an errno style error.

        Parameters
        ----------
        errno : int
            The ZMQ errno or None.  If None, then ``zmq_errno()`` is called and
            used.
        msg : string
            Description of the error or None.
        r)�strerror�	zmq_errnoN)�zmq.backendrr�
isinstance�intr�str)�selfrrrrs     r�__init__zZMQError.__init__s���	4�3�3�3�3�3�3�3��=��I�K�K�E��e�S�!�!�
	$��D�J��{� (������
�
�
� #��
�
�
��{� #�E�
�
��
�
�
� #��
�
�
r�returnc��|jS�N)r�rs r�__str__zZMQError.__str__<s
���}�rc�@�|jj�dt|���d�S)Nz('z'))�	__class__r
rr!s r�__repr__zZMQError.__repr__?s$���.�)�:�:�S��Y�Y�:�:�:�:r)NN)r
rrr
rrr�__annotations__rrr"r%rrrrrs��������	�	� �E�8�C�=����$�$�h�s�m�$��#��$�$�$�$�@������;�#�;�;�;�;�;�;rrc��eZdZdZdS)�ZMQBindErrorznAn error for ``Socket.bind_to_random_port()``.

    See Also
    --------
    .Socket.bind_to_random_port
    Nr	rrrr(r(C����������rr(c��eZdZdZdS)�NotDonez�Raised when timeout is reached while waiting for 0MQ to finish with a Message

    See Also
    --------
    .MessageTracker.wait : object for tracking when ZeroMQ is done
    Nr	rrrr+r+Lr)rr+c�$��eZdZdZd�fd�	Z�xZS)�ContextTerminatedz6Wrapper for zmq.ETERM

    .. versionadded:: 13.0
    �ignoredc�V��ddlm}t���|��dS)Nr)�ETERM)�zmqr0�superr)rrrr0r$s    �rrzContextTerminated.__init__[s3���������
����������r�r.r.�r
rrr
r�
__classcell__�r$s@rr-r-UsG���������
 � � � � � � � � � rr-c�$��eZdZdZd�fd�	Z�xZS)�Againz7Wrapper for zmq.EAGAIN

    .. versionadded:: 13.0
    r.c�V��ddlm}t���|��dS)Nr)�EAGAIN)r1r:r2r)rrrr:r$s    �rrzAgain.__init__gs3���������
������ � � � � rr3r4r6s@rr8r8asG���������
!�!�!�!�!�!�!�!�!�!rr8c�2��eZdZdZeZd�fd�	Z�fd�Z�xZS)�InterruptedSystemCallz�Wrapper for EINTR

    This exception should be caught internally in pyzmq
    to retry system calls, and not propagate to the user.

    .. versionadded:: 14.7
    r.c�T��t���t��dSr )r2rr)rrrr$s   �rrzInterruptedSystemCall.__init__xs!���
����������rc�N��t�����}|dzS)NzB: This call should have been retried. Please report this to pyzmq.)r2r")r�sr$s  �rr"zInterruptedSystemCall.__str__{s"����G�G�O�O�����W�W�Wrr3)	r
rrr
rrrr"r5r6s@rr<r<msp���������
�E� � � � � � �X�X�X�X�X�X�X�X�Xrr<NTc��|dkrw|�ddlm}|��}|dkr|sdSddlm}m}|t
krt
|���||krt|���||krt|���t|���dS)zhinternal utility for checking zmq return condition

    and raising the appropriate Exception class
    ���Nr)r)r:r0)
rrr1r:r0rr<r8r-r)�rcr�error_without_errnorr:r0s      r�	_check_rcrD�s���

�R�x�x��=�-�-�-�-�-�-��I�K�K�E��A�:�:�1�:��F�%�%�%�%�%�%�%�%��E�>�>�'��.�.�.�
�f�_�_���,�,��
�e�^�^�#�E�*�*�*��5�/�/�!�!�xrc�4�eZdZdZdZd	dedefd�Zd�Zd�ZdS)
�ZMQVersionErrorzgRaised when a feature is not provided by the linked version of libzmq.

    .. versionadded:: 14.2
    N�Feature�min_versionrc�h�t�ddlm}|��a||_||_t|_dS)Nr)�zmq_version)�_zmq_versionr1rJrrH�version)rrHrrJs    rrzZMQVersionError.__init__�s?����'�'�'�'�'�'�&�;�=�=�L����&���#����rc�&�dt|��zS)NzZMQVersionError('%s')�rr!s rr%zZMQVersionError.__repr__�s��&��T���2�2rc�N�d�|j|j|j��S)Nz!{} requires libzmq >= {}, have {})�formatrrHrLr!s rr"zZMQVersionError.__str__�s*��2�9�9��H����L�
�
�	
r�rG)	r
rrr
rHrrr%r"rrrrFrF�sj��������
�K�$�$�C�$�c�$�$�$�$�3�3�3�
�
�
�
�
rrFrG�min_version_inforc��t�ddlm}|��at|kr/d�d�|D����}t	||���dS)z�Check for libzmq

    raises ZMQVersionError if current zmq version is not at least min_version

    min_version_info is a tuple of integers, and will be compared against zmq.zmq_version_info().
    Nr)�zmq_version_info�.c3�4K�|]}t|��V��dSr rN)�.0�vs  r�	<genexpr>z!_check_version.<locals>.<genexpr>�s(����@�@�!�s�1�v�v�@�@�@�@�@�@r)�_zmq_version_infor1rT�joinrF)rRrrTrHs    r�_check_versionr\�sp��� �(�(�(�(�(�(�,�,�.�.���+�+�+��h�h�@�@�/?�@�@�@�@�@���k�3�/�/�/�,�+r)rr(rr+r-r<r8rF)NTrQ)r
rr�typingrrr�	Exceptionrrr(r+r-r8�InterruptedErrorr<rDrZrK�NotImplementedErrorrFrrr\�__all__rrr�<module>rbs!��&�&�
������)�)�)�)�)�)�)�)�)�)�9�9�9�9�9�9�9�9�9�2;�2;�2;�2;�2;�|�2;�2;�2;�j�����<���������l����	 �	 �	 �	 �	 ��	 �	 �	 �	!�	!�	!�	!�	!�H�	!�	!�	!�X�X�X�X�X�H�&6�X�X�X�&"�"�"�"�0����
�
�
�
�
�)�
�
�
�>�0�0��E�#�J��c�3�h���s�C��}�9M�M�N�0�	�0�0�0�0�(	�	�	���r

Youez - 2016 - github.com/yon3zu
LinuXploit