| Server IP : 54.37.205.81 / Your IP : 216.73.216.76 Web Server : nginx/1.22.1 System : Linux vps-249481fa 6.1.0-50-cloud-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.176-1 (2026-07-02) x86_64 User : debian ( 1000) PHP Version : 8.2.32 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : OFF Directory : /lib/python3/dist-packages/tornado/__pycache__/ |
Upload File : |
�
��bv � �� � d Z ddlZddlZddlZddlZddlZddlZddlZddlZddl Z ddl
Z
ddlmZm
Z
ddlmZ ddlmZ ddlmZmZmZ ddlmZ ddlZddlmZmZmZmZmZmZmZm Z m!Z! dd l"m#Z# ej$ r
dd
lm%Z%m&Z&m'Z' e dd�
� � Z(ej) ej* ej+ ej, fZ- e.ed� � re-ej/ ej0 ej1 fz
Z-e j2 dk re-ej3 fz
Z-e j2 �4 d� � Z5 G d� de6� � Z7 G d� de8� � Z9 G d� de8� � Z: G d� de;� � Z< G d� de;� � Z= G d� de=� � Z> G d� de>� � Z? G d� de=� � Z@d efd!�ZAdS )"aB Utility classes to write to and read from non-blocking files and sockets.
Contents:
* `BaseIOStream`: Generic interface for reading and writing.
* `IOStream`: Implementation of BaseIOStream using non-blocking sockets.
* `SSLIOStream`: SSL-aware version of IOStream.
* `PipeIOStream`: Pipe-based IOStream implementation.
� N)�Future�"future_set_result_unless_cancelled)�ioloop)�gen_log)�ssl_wrap_socket�_client_ssl_defaults�_server_ssl_defaults)�errno_from_exception) �Union�Optional� Awaitable�Callable�Pattern�Any�Dict�TypeVar�Tuple)�
TracebackType)�Deque�List�Type�
_IOStreamType�IOStream)�bound�
WSAECONNRESET�darwin�winc �: � � e Zd ZdZddee ddf� fd�
Z� xZS )�StreamClosedErrora� Exception raised by `IOStream` methods when the stream is closed.
Note that the close callback is scheduled to run *after* other
callbacks on the stream (to allow for buffered data to be processed),
so you may see this error before you see the close callback.
The ``real_error`` attribute contains the underlying error that caused
the stream to close (if any).
.. versionchanged:: 4.3
Added the ``real_error`` attribute.
N�
real_error�returnc �X �� t � � � d� � || _ d S )NzStream is closed)�super�__init__r )�selfr � __class__s ��2/usr/lib/python3/dist-packages/tornado/iostream.pyr$ zStreamClosedError.__init__b s'