Python 3.16.0 alpha 2 adds faster UUID generation and more
Brief
The second planned alpha of Python 3.16 is ready for developers to test. The release includes performance improvements and new capabilities, but is not recommended for production use.
Notable changes
- The re module adds nested character sets, set operations, and matching by Unicode properties.
- Startup and several common operations are faster; uuid4() and uuid7() generation is about 15–30x faster in microbenchmarks than the pure Python implementations.
- The ssl module supports Encrypted Client Hello when built with OpenSSL 4.0 or later. CPython can also be built for tvOS, watchOS, and visionOS.
Testing and schedule
- This is the second of seven planned alpha releases. Features may be added until beta 1 on May 4, 2027, and may change or be removed until the first release candidate on July 27, 2027.
- The final release is planned for October 5, 2027; Python 3.16.0a3 is scheduled for December 15, 2026.
- The release team invites developers to test with their libraries and applications and report bugs. This preview is not recommended for production.
Generated by AI from the original article. Check the source for full details.