관리-도구
편집 파일: _base.cpython-310.pyc
o 6��f@Y � @ s� d Z ddlZddlZddlZddlZddlZdZdZdZdZ dZ dZd Zd Z dZe eee egZe ded ede dediZe�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&� Zd5d'd(�Z e�!d)d*�Z"defd+d,�Z#d5d-d.�Z$G d/d0� d0e�Z%G d1d2� d2e�Z&G d3d4� d4e'�Z(dS )6z"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 @ � e Zd ZdZdS )�Errorz-Base class for all future-related exceptions.N��__name__� __module__�__qualname__�__doc__� r r �?/opt/alt/python310/lib64/python3.10/concurrent/futures/_base.pyr - � r c @ r )�CancelledErrorzThe Future was cancelled.Nr r r r r r 1 r r c @ r )�TimeoutErrorz*The operation exceeded the given deadline.Nr r r r r r 5 r r c @ r )�InvalidStateErrorz+The operation is not allowed in this state.Nr r r r r r 9 r 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)� threadingZEvent�event�finished_futures��selfr r r �__init__? s z_Waiter.__init__c C � | j �|� d S r �r �append�r"