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/pip/_vendor/tenacity/__pycache__/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /lib/python3/dist-packages/pip/_vendor/tenacity/__pycache__/retry.cpython-311.pyc
�

�/�c~����ddlZddlZddlZejrddlmZGd�dej��ZGd�de��Ze��Z	Gd�de��Z
e
��ZGd	�d
e��ZGd�de��Z
Gd
�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZGd�de��ZdS)�N)�RetryCallStatec�L�eZdZdZejdddefd���Zdd�Zd
d
�Z	dS)�
retry_basez)Abstract base class for retry strategies.�retry_stater�returnc��dS�N���selfrs  �</usr/lib/python3/dist-packages/pip/_vendor/tenacity/retry.py�__call__zretry_base.__call__s�����other�	retry_allc�"�t||��Sr	)r�rrs  r
�__and__zretry_base.__and__ �����u�%�%�%r�	retry_anyc�"�t||��Sr	)rrs  r
�__or__zretry_base.__or__#rrN)rrrr)rrrr)
�__name__�
__module__�__qualname__�__doc__�abc�abstractmethod�boolrrrr
rr
rrss������3�3���
�$4�
��
�
�
���
�&�&�&�&�&�&�&�&�&�&rrc�"�eZdZdZdddefd�ZdS)�_retry_neverz-Retry strategy that never rejects any result.rrrc��dS�NFr
rs  r
rz_retry_never.__call__*s���urN�rrrrrrr
rr
r!r!'s=������7�7��$4��������rr!c�"�eZdZdZdddefd�ZdS)�
_retry_alwaysz.Retry strategy that always rejects any result.rrrc��dS�NTr
rs  r
rz_retry_always.__call__4s���trNr$r
rr
r&r&1s=������8�8��$4��������rr&c�N�eZdZdZdejegefddfd�Zdddefd�Z	dS)	�retry_if_exceptionzARetry strategy that retries if an exception verifies a predicate.�	predicaterNc��||_dSr	�r+�rr+s  r
�__init__zretry_if_exception.__init__>�
��"����rrrc�v�|jjr,|�|j�����SdSr#��outcome�failedr+�	exceptionrs  r
rzretry_if_exception.__call__As6����%�	��>�>�+�"5�"?�"?�"A�"A�B�B�B��5r)
rrrr�typing�Callable�
BaseExceptionrr/rr
rr
r*r*;sm������K�K�#�&�/�=�/�4�2G�"H�#�T�#�#�#�#��$4��������rr*c���eZdZdZefdejejeej	ejedffddf�fd�
Z
�xZS)�retry_if_exception_typez=Retries if an exception has been raised of one or more types.�exception_types.rNc�`����|_t����fd���dS)Nc�$��t|���Sr	��
isinstance��er;s �r
�<lambda>z2retry_if_exception_type.__init__.<locals>.<lambda>Ss���:�a��#A�#A�r�r;�superr/�rr;�	__class__s `�r
r/z retry_if_exception_type.__init__Ks6���� /���
�����A�A�A�A�B�B�B�B�Br�rrrr�	Exceptionr6�Union�Typer8�Tupler/�
__classcell__�rFs@r
r:r:Hs��������G�G�
�C�C����K�
�&��L���]�3�S�8�9�
;�
�C�
�
C�C�C�C�C�C�C�C�C�Crr:c���eZdZdZefdejejeej	ejedffddf�fd�
Z
�xZS)�retry_if_not_exception_typezARetries except an exception has been raised of one or more types.r;.rNc�`����|_t����fd���dS)Nc�&��t|���Sr	r>r@s �r
rBz6retry_if_not_exception_type.__init__.<locals>.<lambda>a����z�!�_�'E�'E�#E�rrCrEs `�r
r/z$retry_if_not_exception_type.__init__Y�6���� /���
�����E�E�E�E�F�F�F�F�FrrGrMs@r
rOrOVs��������K�K�
�G�G����K�
�&��L���]�3�S�8�9�
;�
�G�
�
G�G�G�G�G�G�G�G�G�GrrOc���eZdZdZefdejejeej	ejedffddf�fd�
Z
dddefd	�Z�xZ
S)
�retry_unless_exception_typez:Retries until an exception is raised of one or more types.r;.rNc�`����|_t����fd���dS)Nc�&��t|���Sr	r>r@s �r
rBz6retry_unless_exception_type.__init__.<locals>.<lambda>orRrrCrEs `�r
r/z$retry_unless_exception_type.__init__grSrrrc�v�|jjsdS|�|j�����Sr(r2rs  r
rz$retry_unless_exception_type.__call__qs6���"�)�	��4��~�~�k�1�;�;�=�=�>�>�>r)rrrrrHr6rIrJr8rKr/rrrLrMs@r
rUrUds��������D�D�
�G�G����K�
�&��L���]�3�S�8�9�
;�
�G�
�
G�G�G�G�G�G�?�$4�?��?�?�?�?�?�?�?�?rrUc��eZdZdZefdejejeej	ejedffddfd�Z
dddefd	�ZdS)
�retry_if_exception_cause_typez�Retries if any of the causes of the raised exception is of one or more types.

    The check on the type of the cause of the exception is done recursively (until finding
    an exception in the chain that has no `__cause__`)
    r;.rNc��||_dSr	)�exception_cause_types)rr;s  r
r/z&retry_if_exception_cause_type.__init__s��&5��"�"�"rrrc��|jjr@|j���}|�%t|j|j��rdS|j}|�%dS)NTF)r3r4r5r?�	__cause__r\)rr�excs   r
rz&retry_if_exception_cause_type.__call__�sZ����%�	$��%�/�/�1�1�C��/��c�m�T�-G�H�H� ��4��m���/�
�ur)
rrrrrHr6rIrJr8rKr/rrr
rr
rZrZxs���������
�5�5����K�
�&��L���]�3�S�8�9�
;�
�5�
�
5�5�5�5��$4��������rrZc�X�eZdZdZdejejgefddfd�Zdddefd�Z	dS)	�retry_if_resultz+Retries if the result verifies a predicate.r+rNc��||_dSr	r-r.s  r
r/zretry_if_result.__init__�r0rrrc�v�|jjs,|�|j�����SdSr#�r3r4r+�resultrs  r
rzretry_if_result.__call__�s6���"�)�	��>�>�+�"5�"<�"<�">�">�?�?�?��5r�
rrrrr6r7�Anyrr/rr
rr
rara�so������5�5�#�&�/�6�:�,��2D�"E�#�$�#�#�#�#��$4��������rrac�X�eZdZdZdejejgefddfd�Zdddefd�Z	dS)	�retry_if_not_resultz*Retries if the result refutes a predicate.r+rNc��||_dSr	r-r.s  r
r/zretry_if_not_result.__init__�r0rrrc�x�|jjs-|�|j�����SdSr#rdrs  r
rzretry_if_not_result.__call__�s9���"�)�	��~�~�k�&9�&@�&@�&B�&B�C�C�C�C��5rrfr
rr
riri�so������4�4�#�&�/�6�:�,��2D�"E�#�$�#�#�#�#��$4��������rric�b��eZdZdZ		ddejedejeddf�fd�
Z�xZS)�retry_if_exception_messagez2Retries if an exception message equals or matches.N�message�matchrc�R�����r|rt|jj�d�����rdtdtf�fd�}|}nI|r+tj|���dtdtf�fd�}|}nt|jj�d����t���|��dS)Nz.() takes either 'message' or 'match', not bothr5rc�*���t|��kSr	)�str)r5rns �r
�message_fncz8retry_if_exception_message.__init__.<locals>.message_fnc�s����#�i�.�.�0�0rc�b��t��t|������Sr	)rrorr)r5�progs �r
�	match_fncz6retry_if_exception_message.__init__.<locals>.match_fnc�s#����D�J�J�s�9�~�~�6�6�7�7�7rz3() missing 1 required argument 'message' or 'match')	�	TypeErrorrFrr8r�re�compilerDr/)rrnrorsr+rvrurFs `    @�r
r/z#retry_if_exception_message.__init__�s������
�	h�u�	h��t�~�6�f�f�f�g�g�g��	m�
1�}�
1��
1�
1�
1�
1�
1�
1�$�I�I�
�	m��:�e�$�$�D�
8�]�
8�t�
8�
8�
8�
8�
8�
8�"�I�I��t�~�6�k�k�k�l�l�l�
������#�#�#�#�#r�NN)	rrrrr6�Optionalrrr/rLrMs@r
rmrm�sz�������<�<�)-�&*�$�$����%�$���s�#�$�
�	$�$�$�$�$�$�$�$�$�$rrmc�r��eZdZdZ		d
dejedejeddf�fd�
Zdddefd	�Z	�xZ
S)�retry_if_not_exception_messagez5Retries until an exception message equals or matches.Nrnrorc�p���t���||��|j��fd�|_dS)Nc����|i|��Sr	r
)�args_�kwargs_�if_predicates  �r
rBz9retry_if_not_exception_message.__init__.<locals>.<lambda>�s���|�|�U�7V�g�7V�7V�3V�r)rDr/r+)rrnror�rFs   @�r
r/z'retry_if_not_exception_message.__init__�s;����
	������%�(�(�(��~��V�V�V�V����rrrc�v�|jjsdS|�|j�����Sr(r2rs  r
rz'retry_if_not_exception_message.__call__�s6���"�)�	��4��~�~�k�1�;�;�=�=�>�>�>rrz)rrrrr6r{rrr/rrrLrMs@r
r}r}�s��������?�?�)-�&*�W�W����%�W���s�#�W�
�	W�W�W�W�W�W�?�$4�?��?�?�?�?�?�?�?�?rr}c�2�eZdZdZdeddfd�Zdddefd�ZdS)	rz1Retries if any of the retries condition is valid.�retriesrNc��||_dSr	�r��rr�s  r
r/zretry_any.__init__��
������rrrc�D��t�fd�|jD����S)Nc3�.�K�|]}|���V��dSr	r
��.0�rrs  �r
�	<genexpr>z%retry_any.__call__.<locals>.<genexpr>��+�����8�8�a�1�1�[�>�>�8�8�8�8�8�8r)�anyr�rs `r
rzretry_any.__call__��(����8�8�8�8�4�<�8�8�8�8�8�8r�rrrrrr/rrr
rr
rr�s_������;�;���������9�$4�9��9�9�9�9�9�9rrc�2�eZdZdZdeddfd�Zdddefd�ZdS)	rz/Retries if all the retries condition are valid.r�rNc��||_dSr	r�r�s  r
r/zretry_all.__init__�r�rrrc�D��t�fd�|jD����S)Nc3�.�K�|]}|���V��dSr	r
r�s  �r
r�z%retry_all.__call__.<locals>.<genexpr>�r�r)�allr�rs `r
rzretry_all.__call__�r�rr�r
rr
rr�s_������9�9���������9�$4�9��9�9�9�9�9�9rr)rrxr6�
TYPE_CHECKING�pip._vendor.tenacityr�ABCrr!�retry_neverr&�retry_alwaysr*r:rOrUrZrarirmr}rrr
rr
�<module>r�s���"�
�
�
�	�	�	�	�
�
�
�
�	��4�3�3�3�3�3�3�&�&�&�&�&���&�&�&������:�����l�n�n�������J�����}����
�
�
�
�
��
�
�
�C�C�C�C�C�0�C�C�C�G�G�G�G�G�"4�G�G�G�?�?�?�?�?�"4�?�?�?�(�����J����6
�
�
�
�
�j�
�
�
�
�
�
�
�
�*�
�
�
�$�$�$�$�$�!3�$�$�$�>?�?�?�?�?�%?�?�?�?�&9�9�9�9�9�
�9�9�9�9�9�9�9�9�
�9�9�9�9�9r

Youez - 2016 - github.com/yon3zu
LinuXploit