History

An overview about AsyncIO related changes in Python.

Python 3.3

  • A pluggable event loop, transport and protocol abstractions, and a higher-level scheduler based on yield from PEP 3156

Python 3.4

Python 3.5

  • Change StopIteration handling inside generators PEP 479

  • async/await syntax PEP 492

Python 3.6

Python 3.7

Python 3.8

Python 3.9

  • asyncio.to_thread -> for running IO-bound functions in a separate thread to avoid blocking the event loop

Python 3.10

Python 3.11