Release: | |release| |
---|---|
Date: | |today| |
This article explains the new features in Python 3.13, compared to 3.12.
For full details, see the :ref:`changelog <changelog>`.
Note
Prerelease users should be aware that this document is currently in draft form. It will be updated substantially as Python 3.13 moves towards release, so it's worth checking back even after reading earlier versions.
- None yet.
Remove two :mod:`locale` functions deprecated in Python 3.11:
getdefaultlocale()
: use :func:`locale.setlocale`, :func:`locale.getpreferredencoding(False) <locale.getpreferredencoding>` and :func:`locale.getlocale` functions instead.resetlocale()
: uselocale.setlocale(locale.LC_ALL, "")
instead.
(Contributed by Victor Stinner in :gh:`104783`.)
This section lists previously described changes and other bugfixes that may require changes to your code.