|
| 1 | +--- |
| 2 | +title: Python 3.16.0 alpha 2 is now available |
| 3 | +publishDate: '2026-11-10' |
| 4 | +author: Savannah Ostrowski |
| 5 | +description: The second developer preview of Python 3.16 is ready for testing. |
| 6 | +tags: |
| 7 | + - releases |
| 8 | +published: false |
| 9 | +--- |
| 10 | + |
| 11 | +<!-- |
| 12 | +Checked November 10, 2026 against Doc/whatsnew/3.16.rst in the local |
| 13 | +v3.16.0a2 tag at d1ff5e51e3fbb30bde31fcd7c2c8ef0b3b1b1cef. |
| 14 | +Highlights describe the 3.16 series compared with 3.15. |
| 15 | +
|
| 16 | +Before publishing, confirm that the download page and artifacts are available. |
| 17 | +The download page returned HTTP 404 during this check. The public What's New |
| 18 | +page also still showed an older version, so recheck the new section links once |
| 19 | +the release documentation has been deployed. |
| 20 | +
|
| 21 | +ECH requires OpenSSL 4.0 or later. The tagged macOS and Windows installer |
| 22 | +recipes specify OpenSSL 3.5.9, so the highlight includes the requirement. |
| 23 | +--> |
| 24 | + |
| 25 | +**This is an early developer preview of Python 3.16.** |
| 26 | + |
| 27 | +[python.org/downloads/release/python-3160a2/](https://www.python.org/downloads/release/python-3160a2/) |
| 28 | + |
| 29 | +Python 3.16.0a2 is the second of seven planned alpha releases. Alpha releases give you a chance to try new features and bug fixes while Python 3.16 is still in development. This preview is intended for testing and is not recommended for production use. |
| 30 | + |
| 31 | +## What’s new in Python 3.16? |
| 32 | + |
| 33 | +Some of the changes in Python 3.16 compared with 3.15 include the following. |
| 34 | + |
| 35 | +- **More expressive regular expressions.** The `re` module now supports nested character sets, set operations such as intersection and difference, and Unicode property escapes such as `\p{Lu}` for uppercase letters. [Read more](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-re-set-operations-and-unicode-properties). |
| 36 | +- **Faster startup.** Interpreter startup is faster, with improvements to garbage collection and the construction of common built-in objects. [Read more](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-interpreter-startup). |
| 37 | +- **Faster UUID generation.** `uuid4()` and `uuid7()` now have C implementations. Microbenchmarks measured generation about 15 and 30 times as fast as the pure Python implementations, respectively. [Read more](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-uuid-optimizations). |
| 38 | +- **More helpful error messages.** Syntax errors can suggest Python equivalents for keywords and operators from other languages, such as `def` for `function` and `and` for `&&`. Some method-call errors also suggest checking for a missing `self` parameter. [Read more](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-improved-error-messages). |
| 39 | +- **Encrypted Client Hello.** The `ssl` module adds support for ECH when built with OpenSSL 4.0 or later. [Read more](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-ssl-ech). |
| 40 | +- **Build support for more Apple platforms.** CPython can now be built for tvOS, watchOS, and visionOS. These platforms are not yet part of the supported platform tiers in PEP 11. [Read more](https://docs.python.org/3.16/whatsnew/3.16.html#whatsnew316-apple-platforms). |
| 41 | + |
| 42 | +See [What’s new in Python 3.16](https://docs.python.org/3.16/whatsnew/3.16.html) for more changes. |
| 43 | + |
| 44 | +Features can be added until the first beta on May 4, 2027, and may be modified or removed until the first release candidate on July 27, 2027. The final release is planned for October 5, 2027. |
| 45 | + |
| 46 | +If you maintain a library or application, please try it with this alpha and let us know how it goes. Please report Python bugs on the [CPython issue tracker](https://github.com/python/cpython/issues). |
| 47 | + |
| 48 | +(Hey, **fellow core team member,** if there’s a feature you’d like highlighted in a future announcement, [let Savannah know](mailto:savannah@python.org).) |
| 49 | + |
| 50 | +The next alpha, Python 3.16.0a3, is scheduled for December 15, 2026. The full schedule is in [PEP 826](https://peps.python.org/pep-0826/). |
| 51 | + |
| 52 | +## More resources |
| 53 | + |
| 54 | +- [Python 3.16 documentation](https://docs.python.org/3.16/) |
| 55 | +- [Changelog](https://docs.python.org/3.16/whatsnew/changelog.html) |
| 56 | +- [Support Python through the Python Software Foundation](https://www.python.org/psf/donations/) |
| 57 | + |
| 58 | +## And now for something completely different |
| 59 | + |
| 60 | +Next up in the Python 3.16 Film Festival is [*The Martian* (2015)](https://www.20thcenturystudios.com/movies/the-martian). Stranded on Mars, Mark Watney has to keep himself alive with what he has on hand. The plan to bring him home takes shape much like CPython does, with people around the world bringing different skills to a shared effort. |
| 61 | + |
| 62 | +> So we do this together or not at all. |
| 63 | +> |
| 64 | +> — Commander Melissa Lewis, *The Martian* (2015) |
| 65 | +
|
| 66 | +## Enjoy the new release |
| 67 | + |
| 68 | +Thanks to everyone who helped make this alpha, and to everyone trying it out. If you’d like to support Python, consider volunteering your time or asking your organisation to sponsor the [Python Software Foundation](https://www.python.org/psf-landing/). |
| 69 | + |
| 70 | +Happy testing! |
| 71 | + |
| 72 | +Your release team, |
| 73 | +Savannah Ostrowski |
| 74 | +Ned Deily |
| 75 | +Steve Dower |
| 76 | +Julien Palard |
0 commit comments