| 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:/laragon/bin/python/python-3.10/Lib/asyncio/__pycache__/ |
Upload File : |
o
�L�b� � @ sl d Z dZG dd� de�ZG dd� de�ZG dd� de�ZG dd � d e�ZG d
d� de �Z
G dd
� d
e�ZdS )zasyncio exceptions.)�CancelledError�InvalidStateError�TimeoutError�IncompleteReadError�LimitOverrunError�SendfileNotAvailableErrorc @ � e Zd ZdZdS )r z!The Future or Task was cancelled.N��__name__�
__module__�__qualname__�__doc__� r
r
�*C:\python3.10-64\lib\asyncio\exceptions.pyr � r c @ r )r z*The operation exceeded the given deadline.Nr r
r
r
r r
r r c @ r )r z+The operation is not allowed in this state.Nr r
r
r
r r r r c @ r )r z~Sendfile syscall is not available.
Raised if OS does not support sendfile syscall for given socket or
file type.
Nr r
r
r
r r r r c �( e Zd ZdZ� fdd�Zdd� Z� ZS )r z�
Incomplete read error. Attributes:
- partial: read bytes string before the end of stream was reached
- expected: total number of expected bytes (or None if unknown)
c s@ |d u rdnt |�}t� �t|�� d|� d�� || _|| _d S )NZ undefinedz bytes read on a total of z expected bytes)�repr�super�__init__�len�partial�expected)�selfr r Z
r_expected�� __class__r
r r $ s
�
zIncompleteReadError.__init__c C s t | �| j| jffS �N)�typer r �r r
r
r �
__reduce__+ s zIncompleteReadError.__reduce__�r r
r r r r �
__classcell__r
r
r r r s r c r )r z�Reached the buffer limit while looking for a separator.
Attributes:
- consumed: total number of to be consumed bytes.
c s t � �|� || _d S r )r r �consumed)r �messager r r
r r 5 s
zLimitOverrunError.__init__c C s t | �| jd | jffS )N� )r �argsr r r
r
r r 9 s zLimitOverrunError.__reduce__r r
r
r r r / s r N)r �__all__�
BaseExceptionr � Exceptionr r �RuntimeErrorr �EOFErrorr r r
r
r
r �<module> s