Graybyt3 Was Here
Linux cloud.locucionar.com 3.10.0-1160.81.1.el7.x86_64 #1 SMP Fri Dec 16 17:29:43 UTC 2022 x86_64
Apache
91.191.211.241
/
opt
/
alt
/
python38
/
lib64
/
python3.8
/
asyncio
/
__pycache__
[ HOME ]
Exec
Submit
streams.cpython-38.opt-1.pyc
U ��,a h � @ s& d Z ddlZddlZddlZddlZeed�r6e d7 Z ddlmZ ddlmZ ddlm Z dd lm Z dd lmZ ddlm Z ddlmZ d Zdded�dd�Zd ded�dd�Zeed�r�d!ded�dd�Zd"ded�dd�ZG dd� dej�ZG dd� deej�ZG dd� d�ZG dd� d�ZdS )#)�StreamReader�StreamWriter�StreamReaderProtocol�open_connection�start_server� NZAF_UNIX)�open_unix_connection�start_unix_server� )� coroutines)�events)� exceptions)�format_helpers)� protocols)�logger)�sleepi )�loop�limitc � st |dkrt �� }ntjdtdd� t||d�}t||d�� |j� fdd�| |f|�I dH \}}t|� ||�}||fS ) 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.) N�[The loop argument is deprecated since Python 3.8, and scheduled for removal in Python 3.10.� �� stacklevel�r r �r c s � S �N� r ��protocolr �4/opt/alt/python38/lib64/python3.8/asyncio/streams.py�<lambda>5 � z!open_connection.<locals>.<lambda>) r �get_event_loop�warnings�warn�DeprecationWarningr r Zcreate_connectionr ) �host�portr r �kwds�reader� transport�_�writerr r r r s"