AlkantarClanX12
Current Path : /opt/alt/python311/lib64/python3.11/concurrent/futures/__pycache__/ |
Current File : //opt/alt/python311/lib64/python3.11/concurrent/futures/__pycache__/_base.cpython-311.opt-1.pyc |
� c��f1Y � � � d Z ddlZddlZddlZddlZddlZdZdZdZdZ dZ dZd Zd Z dZe eee egZe ded ede dediZ ej d� � Z G d� de� � Z G d� de� � ZeZ G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� de� � Z G d� d e� � Zd!� Zd"� Zd.d#�Z ej! d$d%� � Z"defd&�Z#d.d'�Z$ G d(� d)e� � Z% G d*� d+e� � Z& G d,� d-e'� � Z(dS )/z"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__� � �?/opt/alt/python311/lib64/python3.11/concurrent/futures/_base.pyr r - s � � � � � �7�7��Dr r c � � e Zd ZdZdS )�CancelledErrorzThe Future was cancelled.Nr r r r r r 1 s � � � � � �#�#��Dr r c � � e Zd ZdZdS )�InvalidStateErrorz+The operation is not allowed in this state.Nr r r r r r 7 s � � � � � �5�5��Dr r c �* � e Zd ZdZd� Zd� Zd� Zd� ZdS )�_Waiterz;Provides the event that wait() and as_completed() block on.c �D � t j � � | _ g | _ d S �N)� threading�Event�event�finished_futures��selfs r �__init__z_Waiter.__init__= s � ��_�&�&�� � "����r c �: � | j � |� � d S r! �r% �append�r'