Uname : Linux serv1.rebootns.com 5.14.0-570.62.1.el9_6.x86_64 #1 SMP PREEMPT_DYNAMIC Tue Nov 11 10:10:59 EST 2025 x86_64
Soft : LiteSpeed
Ip : 139.99.125.122
Port : 443
~
/
opt
/
alt
/
python312
/
lib64
/
python3.12
/
asyncio
/
__pycache__
[ HOME ]
Exec
Submit
File Name : streams.cpython-312.pyc
� �ag�<��� �l � d Z ddlZddlZddlZddlZddlZ eed� re dz Z ddlmZ ddlm Z ddlm Z dd lmZ dd lmZ ddl mZ ddlmZ d Zded�d�Zded�d�Z eed� rded�d�Zded�d�Z G d� dej, � Z G d� deej, � Z G d� d� Z G d� d� Zy))�StreamReader�StreamWriter�StreamReaderProtocol�open_connection�start_server� N�AF_UNIX)�open_unix_connection�start_unix_server� )� coroutines)�events)� exceptions)�format_helpers)� protocols)�logger)�sleepi )�limitc � �� � K � t j � }t ||�� }t ||�� � |j � fd�| |fi |��� d{ ��� \ }}t |� ||� }||fS 7 ��w)a� A wrapper for create_connection() returning a (reader, writer) pair. The reader returned is a StreamReader instance; the writer is a StreamWriter instance. The arguments are all the usual arguments to create_connection() except protocol_factory; most common are positional host and port, with various optional keyword arguments following. Additional optional keyword arguments are loop (to set the event loop instance to use) and limit (to set the buffer limit passed to the StreamReader). (If you want to customize the StreamReader and/or StreamReaderProtocol classes, just copy the code -- there's really nothing special here except some convenience.) �r �loop�r c � �� � S �N� ��protocols ��6/opt/alt/python312/lib64/python3.12/asyncio/streams.py�<lambda>z!open_connection.<locals>.<lambda>1 s �� �� N)r �get_running_loopr r �create_connectionr ) �host�portr �kwdsr �reader� transport�_�writerr s @r r r sx �� �� �&