Python 3.15 Alpha 6 Arrives with Major Performance Boost and New Language Features

From Usahobs, the free encyclopedia of technology

Python 3.15.0 alpha 6, the sixth of eight planned alpha releases for the upcoming Python 3.15 series, is now available for public testing. The release introduces a significantly upgraded Just-In-Time (JIT) compiler, delivering up to 8% speed improvements on AArch64 macOS and 3-4% on x86-64 Linux over standard interpreters.

“This alpha release is a major milestone for Python performance,” said Hugo van Kemenade, Python release team member. “The JIT compiler improvements alone represent the largest single-performance gain we’ve seen in years.”

Key New Features in Python 3.15

  • PEP 799 – A high-frequency, low-overhead statistical sampling profiler and dedicated profiling package.
  • PEP 798 – Unpacking in comprehensions using * and **.
  • PEP 686 – UTF-8 becomes the default encoding for Python source files and standard I/O.
  • PEP 782 – New PyBytesWriter C API for creating Python bytes objects.
  • PEP 728 – TypedDict now supports typed extra items.
  • Improved error messages – More precise and helpful diagnostics across the interpreter.

“The JIT improvements are just the beginning,” added Ned Deily, another release team member. “We expect further optimizations before the final release.”

Python 3.15 Alpha 6 Arrives with Major Performance Boost and New Language Features

Background

Python 3.15 is still in active development. Alpha releases like 3.15.0a6 are intended for early testing of new features, bug fixes, and the release process itself. These preview builds are not recommended for production environments as features may be added, modified, or even removed before the beta phase begins on May 5, 2026. The release candidate phase starts on July 28, 2026.

This is the sixth alpha release out of eight. The next pre-release, Python 3.15.0a7, is scheduled for March 10, 2026.

What This Means

For developers and early adopters, this alpha provides a first look at several language improvements that could reshape Python codebases. The JIT compiler performance boost means computationally intensive scripts and applications may run significantly faster on supported architectures. The UTF-8 default encoding (PEP 686) will simplify cross-platform string handling but may require adjustments for legacy projects relying on other encodings.

The new statistical profiler (PEP 799) promises to make performance analysis more efficient, while unpacking in comprehensions (PEP 798) could lead to more expressive and concise code. The TypedDict extension (PEP 728) adds flexibility for type checkers.

“Every alpha release is a call to action for the community,” said Łukasz Langa, Python release team member. “Test your projects now to help us catch issues before the beta phase.”

How to Test and Report Issues

Download Python 3.15.0a6 from the official Python download page. Full documentation is available online. Report any bugs at the CPython GitHub repository.

The release team encourages financial support through Python Software Foundation donations or GitHub Sponsors.

“Thanks to all volunteers who make Python development possible,” concluded Steve Dower. “Your contributions keep the language evolving.”