The fourth alpha release of Python 3.15.0 is now available. While still under heavy development, this preview offers a glimpse into the future direction of the language. It's a great opportunity for developers to test new features, though it's not recommended for production use. You can find the official source material for more details.

Python programming language logo and code on a screen

Major New Features and Changes

Here are the key developments planned for Python 3.15 so far.

  • PEP 799: New High-Performance Profiler
    • Introduces a high-frequency, low-overhead statistical sampling profiler and a dedicated profiling package.
  • PEP 686: UTF-8 Default Encoding
    • Python now uses UTF-8 as the default encoding, greatly improving cross-platform compatibility and text processing consistency.
  • PEP 782: New PyBytesWriter C API
    • A new C API for creating Python bytes objects, enhancing efficiency for low-level operations.
  • Significantly Upgraded JIT Compiler
    • Reports show a 3-4% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and a 7-8% speedup on AArch64 macOS over the tail-calling interpreter.
  • Improved Error Messages
    • Enhancements to error messages aim to make debugging easier.

Server racks in a data center representing performance and infrastructure

Release Schedule and Caveats

Python 3.15 is currently in the alpha phase, meaning features can be added, modified, or removed. Key milestones are as follows:

PhaseScheduled DateNotes
Beta Phase Starts2026-05-05Functionality Freeze
Release Candidate (RC) Phase2026-07-28Code Freeze
Next Alpha (3.15.0a5)2026-02-10

Remember, alpha and beta releases are for testing new features and the release process. Do not use them for critical projects.

Data visualization charts and graphs for profiling and analysis

Outlook and Conclusion

The continued evolution of the JIT compiler and the introduction of a new high-performance profiler are poised to elevate Python's performance competitiveness further. The adoption of UTF-8 as the default encoding will fundamentally resolve many internationalization-related issues. With active contributions and testing from the Python community, we can look forward to a stable Python 3.15 release in 2026.