The Python release team published Python 3.16.0a2 on November 10, 2026. It is alpha number two out of seven on the road to the next major version, and the first one to show a clear set of headline features for developers to try.
The preview is not meant for production. Its value is early testing: library authors and teams with large code bases can check now whether the new behavior, speedups and removals break anything, while there is still time to report bugs before the feature freeze.
Release Schedule
New features can still land until the first beta, due on May 4, 2027. Between that beta and the first release candidate, set for July 27, 2027, existing features can still be reworked or pulled.
Python 3.16.0 itself is expected on October 5, 2027. Before then, the third alpha should arrive on December 15, 2026, and PEP 826 holds the complete timeline.
Key New Features
The highlights listed in the announcement and the draft What's New document are:
- Set operations inside regex character classes, following Unicode Technical Standard #18. Difference, intersection and union use the --, && and || operators, and sets can be nested.
- Unicode property escapes in the re module, written as \p{...} and \P{...}, such as \p{Lu} for an uppercase letter.
- Encrypted Client Hello support in the ssl module when Python is built against OpenSSL 4.0 or newer.
- CPython can now be compiled for Apple's tvOS, watchOS and visionOS, although these are not yet official supported platform tiers.
- Friendlier SyntaxError hints, for example pointing users who type switch toward match, or delete toward del.
Smaller additions include new stop_exception and stop_value options for iter() and aiter(), an eager_tasks option for asyncio.run(), and negative-step slicing on sqlite3.Blob objects.
Performance Gains
Speed is a big theme of this alpha. The uuid module now has a C implementation, and microbenchmarks show uuid4() roughly 15 times faster and uuid7() almost 30 times faster than the pure Python code. Parsing a UUID from a string and turning it back into text are also several times quicker.
Interpreter startup is faster, garbage collection does less work, and building lists, dicts, bytes and bytearray objects costs less. Async generators avoid creating a throwaway StopIteration on each step, which makes the matching pyperformance benchmark about 30% faster.
Two more gains stand out for tooling and data code. AST nodes now use less memory and parse about 16% faster, and strptime() is quicker for common numeric date formats such as year-month-day.
Removals to Check
As usual, several APIs deprecated in 3.13 and 3.14 are gone. The most likely to affect real code is the asyncio event loop policy system, including get_event_loop_policy() and set_event_loop_policy(). The replacement is to pass a custom loop_factory to asyncio.run() or asyncio.Runner.
Other removals include asyncio.iscoroutinefunction(), the 'u' format code in the array module, the strm argument for custom logging handlers, keyword arguments to the Python version of functools.reduce(), and undotted extensions in mimetypes.
What It Means for Developers
For most teams, this alpha is a test target rather than an upgrade. Add 3.16 to a CI matrix as an allowed-failure job, so breakage from the removed asyncio policy APIs or logging changes shows up early instead of in late 2027.
The regex additions are worth a look for anyone who writes text validation or data cleaning code. Patterns that needed long character lists, or third-party regex libraries, may become shorter and easier to read with set operations and Unicode properties.
Data and database developers who generate many UUID keys will benefit from the faster uuid7(), which suits time-ordered primary keys. If you load data with pandas, our guide to importing a CSV file into Python using pandas is a simple place to start testing your scripts on the new build.
How to Try It
Installers and source archives are on the Python 3.16.0a2 release page at python.org. Install it alongside your current version, create a fresh virtual environment, and run your test suite there.
Report any problems on the CPython issue tracker. Bugs found during the alpha phase are far easier to fix than ones found after the release candidate.
Conclusion
Python 3.16.0a2 shows where the next release is heading: richer regular expressions, ECH in ssl, faster startup and much faster UUIDs, plus a round of cleanup removals. It is a good moment to add 3.16 to test pipelines, but keep production on a stable release.
Sources
- Python Insider: Python 3.16.0 alpha 2 is now available
- Python documentation: What's new in Python 3.16
See my articles more often when you search Google.
