Skip to content

Commit 59bda4f

Browse files
authored
Python 3.15.0 beta 2 is here! (#89)
1 parent 0fda708 commit 59bda4f

1 file changed

Lines changed: 85 additions & 0 deletions

File tree

  • content/posts/python-3150-beta-2
Lines changed: 85 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,85 @@
1+
---
2+
title: Python 3.15.0 beta 2 is here!
3+
publishDate: '2026-06-02'
4+
author: Hugo van Kemenade
5+
description: 'The antepenultimate 3.15 beta is out!'
6+
tags:
7+
- releases
8+
published: true
9+
---
10+
11+
https://www.python.org/downloads/release/python-3150b2/
12+
13+
**This is a beta preview of Python 3.15**
14+
15+
Python 3.15 is still in development. This release, 3.15.0b2, is the second of four planned beta releases.
16+
17+
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.
18+
19+
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](https://github.com/python/cpython/issues) 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.
20+
21+
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.
22+
23+
Please keep in mind that this is a preview release and its use is ***not*** recommended for production environments.
24+
25+
## Major new features of the 3.15 series, compared to 3.14
26+
27+
Some of the major new features and changes in Python 3.15 are:
28+
29+
* [PEP 810](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-lazy-imports): Explicit lazy imports for faster startup times
30+
* [PEP 814](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-frozendict): Add `frozendict` built-in type
31+
* [PEP 661](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sentinel): Add `sentinel` built-in type
32+
* [PEP 799](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-profiling-package): A dedicated profiling package for organizing Python profiling tools
33+
* [PEP 799](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler): Tachyon: High frequency statistical sampling profiler
34+
* [PEP 831](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-frame-pointers): Frame pointers are enabled by default for improved system-level observability
35+
* [PEP 798](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-unpacking-in-comprehensions): Unpacking in comprehensions
36+
* [PEP 686](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default): Python now uses UTF-8 as the default encoding
37+
* [PEP 829](https://peps.python.org/pep-0829/): Package startup configuration files
38+
* [PEP 728](https://peps.python.org/pep-0728/): `TypedDict` with typed extra items
39+
* [PEP 747](https://docs.python.org/3.15/whatsnew/3.15.html#typing): Annotating type forms with `TypeForm`
40+
* [PEP 800](https://peps.python.org/pep-0800/): Disjoint bases in the type system
41+
* [PEP 782](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pybyteswriter): A new `PyBytesWriter` C API to create a Python bytes object
42+
* [PEP 803, 820, 793](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-abi3t): Stable ABI for free-threaded builds and related C API
43+
* The [JIT compiler](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-jit) 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
44+
* The official Windows 64-bit binaries now [use the tail-calling interpreter](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-windows-tail-calling-interpreter)
45+
* [Improved error messages](https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages)
46+
* [More color](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-more-color)
47+
* <small>(Hey, **fellow core team member,** if a feature you find important is missing from this list, let Hugo know.)</small>
48+
49+
For more details on the changes to Python 3.15, see [What’s new in Python 3.15](https://docs.python.org/3.15/whatsnew/3.15.html). The next pre-release of Python 3.15 will be 3.15.0b3, scheduled for 2026-06-23.
50+
51+
## Removals and new deprecations
52+
53+
- Python [removals](https://docs.python.org/3.15/whatsnew/3.15.html#removed) and [deprecations](https://docs.python.org/3.15/whatsnew/3.15.html#deprecated)
54+
- C API [removals](https://docs.python.org/3.15/whatsnew/3.15.html#c-api-removed) and [deprecations](https://docs.python.org/3.15/whatsnew/3.15.html#c-api-deprecated)
55+
- Overview of all [pending deprecations](https://docs.python.org/3.15/deprecations/index.html)
56+
57+
## More resources
58+
59+
* [Online documentation](https://docs.python.org/3.15/)
60+
* [PEP 790](https://peps.python.org/pep-0790/), 3.15 release schedule
61+
* Report bugs at [https://github.com/python/cpython/issues](https://github.com/python/cpython/issues)
62+
* [Help fund Python directly](https://www.python.org/psf/donations/python-dev/) (or via [GitHub Sponsors](https://github.com/sponsors/python)) and support [the Python community](https://www.python.org/psf/donations/)
63+
64+
## And now for something completely different
65+
66+
> “Call the first witness,” said the King; and the White Rabbit blew
67+
three blasts on the trumpet, and called out, “First witness!”
68+
>
69+
> The first witness was the Hatter. He came in with a teacup in one hand
70+
and a piece of bread-and-butter in the other. “I beg pardon, your
71+
Majesty,” he began, “for bringing these in: but I hadn’t quite finished
72+
my tea when I was sent for.”
73+
74+
75+
## Enjoy the new release
76+
77+
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](https://www.python.org/psf/donations/).
78+
79+
Regards from Helsinki with a 4:06 sunrise and 22:31 sunset,
80+
81+
Your release team,\
82+
Hugo van Kemenade\
83+
Ned Deily\
84+
Steve Dower\
85+
Łukasz Langa

0 commit comments

Comments
 (0)