Streams — Python 3.16.0a0 documentation

docs.python.org

Tin mới

Coroutines and tasks

Synchronization Primitives

Python Module Index

3.16.0a0 Documentation

The Python Standard Library

Networking and Interprocess Communication

asyncio — Asynchronous I/O

loop.create_connection()

Establish a network connection and return a pair of (reader, writer) objects.

asynchronous iterable

Represents a reader object that provides APIs to read data from the IO stream. As an asynchronous iterable, the object supports the async for statement.

IncompleteReadError

Raise an IncompleteReadError if EOF is reached before n can be read. Use the IncompleteReadError.partial attribute to get the partially read data.

BaseTransport.get_extra_info()

Access optional transport information; see BaseTransport.get_extra_info() for details.