Notice: This page displays a fallback because interactive scripts did not run. Possible causes include disabled JavaScript or failure to load scripts or stylesheets.

Python 3.15.0b2

Release date: June 2, 2026

Here comes the antepenultimate beta.

This is a beta preview of Python 3.15

Python 3.15 is still in development. This release, 3.15.0b2, is the second of four planned beta releases.

Beta release previews are intended to give the wider community the opportunity to test new features and bug fixes and to prepare their projects to support the new feature release.

We strongly encourage maintainers of third-party Python projects to test with 3.15 during the beta phase and report issues found to the Python bug tracker as soon as possible. While the release is planned to be feature-complete entering the beta phase, it is possible that features may be modified or, in rare cases, removed up until the start of the release candidate phase (2026-08-04). Our goal is to have no ABI changes after beta 4 and as few code changes as possible after the first release candidate. To achieve that, it will be extremely important to get as much exposure for 3.15 as possible during the beta phase.

This includes creating pre-release wheels for 3.15, as it helps other projects to do their own testing. However, we recommend that your regular production releases wait until 3.15.0rc1, to avoid the risk of ABI breaks.

Please keep in mind that this is a preview release and its use is not recommended for production environments.

Major new features of the 3.15 series, compared to 3.14

Some of the major new features and changes in Python 3.15 are:

  • PEP 810: Explicit lazy imports for faster startup times
  • PEP 814: Add frozendict built-in type
  • PEP 661: Add sentinel built-in type
  • PEP 799: A dedicated profiling package for organizing Python profiling tools
  • PEP 799: Tachyon: High frequency statistical sampling profiler
  • PEP 831: Frame pointers are enabled by default for improved system-level observability
  • PEP 798: Unpacking in comprehensions
  • PEP 686: Python now uses UTF-8 as the default encoding
  • PEP 829: Package startup configuration files
  • PEP 728: TypedDict with typed extra items
  • PEP 747: Annotating type forms with TypeForm
  • PEP 800: Disjoint bases in the type system
  • PEP 782: A new PyBytesWriter C API to create a Python bytes object
  • PEP 803, 820, 793: Stable ABI for free-threaded builds and related C API
  • The JIT compiler has been significantly upgraded, with 8-9% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and 12-13% speedup on AArch64 macOS over the tail-calling interpreter
  • The official Windows 64-bit binaries now use the tail-calling interpreter
  • Improved error messages
  • More color
  • (Hey, fellow core team member, if a feature you find important is missing from this list, let Hugo know.)

For more details on the changes to Python 3.15, see What’s new in Python 3.15. The next pre-release of Python 3.15 will be 3.15.0b3, scheduled for 2026-06-23.

Removals and new deprecations

More resources

And now for something completely different

“Call the first witness,” said the King; and the White Rabbit blew three blasts on the trumpet, and called out, “First witness!”

The first witness was the Hatter. He came in with a teacup in one hand and a piece of bread-and-butter in the other. “I beg pardon, your Majesty,” he began, “for bringing these in: but I hadn’t quite finished my tea when I was sent for.”

Enjoy the new release

Thanks to all of the many volunteers who help make Python development and these releases possible! Please consider supporting our efforts by volunteering yourself or through organisation contributions to the Python Software Foundation.

Full Changelog

Files

Version Operating system Description File size Sigstore SBOM SHA-256 checksum
Gzipped source tarball Source release 41.4 MB .sigstore SPDX 781f4bcdef48d1d38b335fdc7a156b4e5fe9738b14456121f949257ff5cce77c
XZ compressed source tarball Source release 33.7 MB .sigstore SPDX d14f474ab679e90bc734b02ff58447b6ec99a821af61d6ff0c1da0f86e341a71
Android embeddable package (aarch64) Android 22.6 MB .sigstore de5e36ffc3c33b63a1ed53fe83db4dee16b003a3180ac35e5c4c203d3750e076
Android embeddable package (x86_64) Android 22.9 MB .sigstore e05ef9c142ea83b41b194b16014ffe2249d27783313c3b00b97f6c93d9a56b92
iOS XCframework iOS 79.4 MB .sigstore fd6b6fb8f82cf44622d28ea53b8197c89fb06505557d29d4d7a47f9386c1c896
macOS installer macOS for macOS 10.15 and later 87.7 MB .sigstore 29b5c95f255f846f77e1c119146836445f929de1392a3ae9ef24f559e1345418
Windows installer (64-bit) Windows Recommended 43.5 MB .sigstore SPDX f73038ee13ab1b131e6b2082a0f5c94e2a6d0aa834c452f2e1cefb90eba92c89
Windows installer (32-bit) Windows 41.9 MB .sigstore SPDX 308d6e8c8c7beb034f61602373f5336e0854c018d4f8b3aff856d9127ac879b5
Windows installer (ARM64) Windows Experimental 42.9 MB .sigstore SPDX 35b39ac77a504b5ab198cd0fd0c7aca57809c7562077b526adf691e5c62d6268
Windows embeddable package (64-bit) Windows 13.1 MB .sigstore SPDX 8059ed6e738557bdc34b7239da26eae1e9f2ad0d24e90f98467d3a55f0d31c06
Windows embeddable package (32-bit) Windows 11.4 MB .sigstore SPDX 081f0fcaf9250d65b2a129cee6767a002e90b937a617758ad94a40cfb03663b8
Windows embeddable package (ARM64) Windows 12.4 MB .sigstore SPDX cff6b864d64c6adb47618fedb846833725ea1d2499064f5b21dab9812cac383f
Windows release manifest Windows Install with 'py install 3.15' 15.1 KB .sigstore 347de9cfe1a0eab5e53bd93ba191946bfe4ce0c833b2bfb78b138be466b5d038