|
Server : LiteSpeed System : Linux server51.dnsbootclub.com 4.18.0-553.62.1.lve.el8.x86_64 #1 SMP Mon Jul 21 17:50:35 UTC 2025 x86_64 User : nandedex ( 1060) PHP Version : 8.1.33 Disable Function : NONE Directory : /opt/cppython/lib/python3.8/concurrent/futures/__pycache__/ |
U
?��gY �
@ sp d Z ddlZddlZddlZddlZdZdZdZdZdZ dZ
d Zd
ZdZ
e e
eee
gZe de
d
edede
diZe�d�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d!d"� d"e�Zd#d$� Zd%d&� Zd3d'd(�Ze� d)d*�Z!defd+d,�Z"G d-d.� d.e�Z#G d/d0� d0e�Z$G d1d2� d2e%�Z&dS )4z"Brian Quinlan (brian@sweetapp.com)� N�FIRST_COMPLETED�FIRST_EXCEPTION�
ALL_COMPLETED�
_AS_COMPLETED�PENDING�RUNNING� CANCELLED�CANCELLED_AND_NOTIFIED�FINISHED�pending�running� cancelled�finishedzconcurrent.futuresc @ s e Zd ZdZdS )�Errorz-Base class for all future-related exceptions.N��__name__�
__module__�__qualname__�__doc__� r r �7/opt/cppython/lib/python3.8/concurrent/futures/_base.pyr , s r c @ s e Zd ZdZdS )�CancelledErrorzThe Future was cancelled.Nr r r r r r 0 s r c @ s e Zd ZdZdS )�TimeoutErrorz*The operation exceeded the given deadline.Nr r r r r r 4 s r c @ s e Zd ZdZdS )�InvalidStateErrorz+The operation is not allowed in this state.Nr r r r r r 8 s r c @ s0 e Zd ZdZdd� Zdd� Zdd� Zdd � Zd
S )�_Waiterz;Provides the event that wait() and as_completed() block on.c C s t �� | _g | _d S �N)� threading�Event�event�finished_futures��selfr r r �__init__>