Python 3.15 Alpha 6 Arrives with Performance Boosts and New Profiler
Python 3.15 Alpha 6 Released: Profiler, JIT Speedups and UTF-8 Default
The Python development team has released Python 3.15.0a6, the sixth of eight planned alpha builds for the upcoming 3.15 series. This preview introduces several major features, including a new statistical profiler and significant JIT compiler improvements.
“This is an early developer preview, not intended for production,” said release manager Hugo van Kemenade. “We encourage testing to catch bugs before the beta phase begins.”
Key New Features in Alpha 6
- PEP 799: A high-frequency, low-overhead statistical sampling profiler, packaged in a dedicated profiling module. Learn more about development phases.
- PEP 798: Unpacking in comprehensions with
*and**, extending Python’s expressiveness. - PEP 686: UTF-8 is now the default encoding, simplifying cross-platform text handling.
- PEP 782: A new
PyBytesWriterC API for efficient bytes object creation. - PEP 728:
TypedDictnow supports typed extra items, improving type safety.
JIT Compiler Gets Notable Speed Gains
The experimental JIT compiler, first introduced in Python 3.13, has been significantly upgraded. Benchmarks show a 3–4% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and a 7–8% speedup on AArch64 macOS compared to the tail-calling interpreter.
“These improvements make Python more competitive for performance-sensitive tasks,” said core developer Łukasz Langa. “We’re seeing real gains without compromising readability.”
Improved Error Messages
Python 3.15 continues the trend of better diagnostics. Error messages have been refined to point more directly to the cause of common mistakes.
Background: Alpha Phase and Release Schedule
Alpha releases are snapshots of active development, where new features can be added until May 5, 2026 (the start of beta). Features may be modified or removed up until the release candidate phase on July 28, 2026.
The next milestone, 3.15.0a7, is scheduled for March 10, 2026. Developers are urged to test applications against these alphas to identify regressions early.
What This Means for Python Developers
Immediate benefits: The new profiler gives developers a lightweight way to measure code hotspots in production-like environments. The JIT boost can accelerate CPU-bound Python workloads without code changes.
Longer-term impact: UTF-8 as the default encoding reduces locale-related bugs. The C API additions and typed dictionaries improve both performance and type checking. These features lay groundwork for Python’s continued evolution as a versatile language.
“Please consider supporting the Python Software Foundation or volunteering,” the release team noted, as the snow falls in Helsinki.
Resources and Community
- Download: python.org/downloads/release/python-3150a6/
- Documentation: Online docs
- Release schedule: PEP 790
- Report bugs: github.com/python/cpython/issues
- Support: Python Software Foundation
Related Articles
- Inside Go 1.26: Smarter Type Construction and Cycle Detection
- How to Get Started with Python 3.15.0a5: A Developer's Guide
- 10 Essential Strategies for Scaling Multi-Agent AI Systems
- October 2025 Python VS Code Update: Key Features and FAQs
- Python 3.14.0 Officially Released: Free-Threaded Python and Deferred Annotations Lead Major Update
- Python Community Blog Transitions to Git-Based Publishing
- Pyroscope 2.0: The Next Generation of Continuous Profiling for Scalable Observability
- Understanding Go's Source-Level Inliner and //go:fix inline