Python 3.13 Latest Release 2025 Jun 2026

The introduces a protocol that lets any object exposing a __await__ method be used directly in async I/O without an intermediate buffer copy. This reduces memory traffic by up to 40 % in high‑throughput networking workloads.

Prepared for the Python Software Foundation’s annual “State of the Language” symposium. python 3.13 latest release 2025

| Module | Purpose | Highlights | |--------|---------|------------| | zoneinfo (enhanced) | Time‑zone handling | Added and ZoneInfo.from_olson factory. | | statistics | Statistical functions | New quantiles and bootstrap_ci utilities for data‑science. | | asyncio | Asynchronous I/O | Integrated Zero‑Copy Buffer API and Task‑group context manager ( asyncio.TaskGroup ). | | socket | Networking | Added socket.sendmsg_into for zero‑copy scatter‑gather I/O. | | ctypes | Foreign Function Interface | Introduced carray for safe, contiguous memory views. | The introduces a protocol that lets any object