|
| 1 | +--- |
| 2 | +title: Python 3.15.0 alpha 7 |
| 3 | +publishDate: '2026-03-10' |
| 4 | +author: Hugo van Kemenade |
| 5 | +description: 'The penultimate 3.15 alpha is out!' |
| 6 | +tags: |
| 7 | + - releases |
| 8 | +published: true |
| 9 | +--- |
| 10 | + |
| 11 | +**This is an early developer preview of Python 3.15** |
| 12 | + |
| 13 | +[www.python.org/downloads/release/python-3150a7/](https://www.python.org/downloads/release/python-3150a7/) |
| 14 | + |
| 15 | +## Major new features of the 3.15 series, compared to 3.14 |
| 16 | + |
| 17 | +Python 3.15 is still in development. This release, 3.15.0a7, is the seventh of eight planned alpha releases. |
| 18 | + |
| 19 | +Alpha releases are intended to make it easier to test the current state of new features and bug fixes and to test the release process. |
| 20 | + |
| 21 | +During the alpha phase, features may be added up until the start of the beta phase (2026-05-05) and, if necessary, may be modified or deleted up until the release candidate phase (2026-07-28). Please keep in mind that this is a preview release and its use is **not** recommended for production environments. |
| 22 | + |
| 23 | +Many new features for Python 3.15 are still being planned and written. Among the new major new features and changes so far: |
| 24 | + |
| 25 | +* [PEP 810](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep810): Explicit lazy imports |
| 26 | +* [PEP 814](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-frozendict): `frozendict` built-in type |
| 27 | +* [PEP 799](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-sampling-profiler): A new high-frequency, low-overhead, statistical sampling profiler and dedicated profiling package |
| 28 | +* [PEP 798](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-unpacking-in-comprehensions): Unpacking in comprehensions with `*` and `**` |
| 29 | +* [PEP 686](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-utf8-default): Python now uses UTF-8 as the default encoding |
| 30 | +* [PEP 728](https://peps.python.org/pep-0728/): `TypedDict` with typed extra items |
| 31 | +* [PEP 747](https://docs.python.org/3.15/whatsnew/3.15.html#typing): Annotating type forms with `TypeForm` |
| 32 | +* [PEP 782](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-pep782): A new `PyBytesWriter` C API to create a Python bytes object |
| 33 | +* The [JIT compiler](https://docs.python.org/3.15/whatsnew/3.15.html#whatsnew315-jit) has been significantly upgraded, with 3-4% geometric mean performance improvement on x86-64 Linux over the standard interpreter, and 7-8% speedup on AArch64 macOS over the tail-calling interpreter |
| 34 | +* [Improved error messages](https://docs.python.org/3.15/whatsnew/3.15.html#improved-error-messages) |
| 35 | +* <small>(Hey, **fellow core team member,** if a feature you find important is missing from this list, let Hugo know.)</small> |
| 36 | + |
| 37 | +The next pre-release of Python 3.15 will be 3.15.0a8, currently scheduled for 2026-04-07. |
| 38 | + |
| 39 | +## More resources |
| 40 | + |
| 41 | +* [Online documentation](https://docs.python.org/3.15/) |
| 42 | +* [PEP 790](https://peps.python.org/pep-0790/), 3.15 release schedule |
| 43 | +* Report bugs at [https://github.com/python/cpython/issues](https://github.com/python/cpython/issues) |
| 44 | +* [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/) |
| 45 | + |
| 46 | +## And now for something completely different |
| 47 | + |
| 48 | +> And thus, while the one ship went cheerily before the breeze, the other |
| 49 | +stubbornly fought against it; and so the two vessels parted; the crew |
| 50 | +of the Pequod looking with grave, lingering glances towards the |
| 51 | +receding Bachelor; but the Bachelor’s men never heeding their gaze for |
| 52 | +the lively revelry they were in. And as Ahab, leaning over the |
| 53 | +taffrail, eyed the homeward-bound craft, he took from his pocket a |
| 54 | +small vial of sand, and then looking from the ship to the vial, seemed |
| 55 | +thereby bringing two remote associations together, for that vial was |
| 56 | +filled with Nantucket soundings. |
| 57 | + |
| 58 | +## Enjoy the new release |
| 59 | + |
| 60 | +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/). |
| 61 | + |
| 62 | +Regards from Helsinki as spring melts the snow, |
| 63 | + |
| 64 | +Your release team, |
| 65 | +Hugo van Kemenade |
| 66 | +Ned Deily |
| 67 | +Steve Dower |
| 68 | +Łukasz Langa |
0 commit comments