Python 3.13.0 alpha 1

It’s not a very exciting release (yet), but it’s time for the first alpha of Python 3.13 anyway!

This is an early developer preview of Python 3.13

Major new features of the 3.13 series, compared to 3.12

Python 3.13 is still in development. This release, 3.13.0a1 is the first of seven planned alpha releases.

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.

During the alpha phase, features may be added up until the start of the beta phase (2024-05-07) and, if necessary, may be modified or deleted up until the release candidate phase (2024-07-30). Please keep in mind that this is a preview release and its use is not recommended for production environments.

Many new features for Python 3.13 are still being planned and written. The most notable change so far are new deprecations, most of which are scheduled for removal from Python 3.15 or 3.16

(Hey, fellow core developer, if a feature you find important is missing from this list, let Thomas know.)

The next pre-release of Python 3.13 will be 3.13.0a2, currently scheduled for 2023-11-21.

More resources

Enjoy the new releases

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 organization contributions to the Python Software Foundation.

Regards from lovely Czechia,

Your release team,
Thomas Wouters @thomas
Ned Deily @nad
Steve Dower @steve.dower
Łukasz Langa @ambv

12 Likes

Python 3.13 removes 20 stdlib modules: these removals are related to PEP 594 – Removing dead batteries from the standard library implementation. What’s New in Python 3.13 documents replacement solutions. If you know better replacement or consider that better doc is needed, you can open an issue. See also the discussion about these removal.

Python 3.13 also removes 300 private C API functions. If your project is impacted and you consider that some removed private functions should become public functions, please also open an issue. It should be dicussed on a case by case basis. Please add cc @vstinner in your issue to notify me. These removals are part of a large plan to clarify what is public and what is private in the C API: see C API: My plan to clarify private vs public functions in Python 3.13 discussion.

These removals were done early in the 3.13 dev cycle to get feedback as soon as possible and give more time to projects to be prepared before 3.13 final release (in 1 year).

7 Likes

Is there a list of those removed functions somewhere?

I created an up-to-date list of all private exported functions removed in the main branch: https://github.com/python/cpython/issues/106320#issuecomment-1762749682 (307 functions). Maybe some tooling using such list might be helpful, I don’t know.

2 Likes