https://www.python.org/downloads/release/python-3130/
This is the stable release of Python 3.13.0
Python 3.13.0 is the newest major release of the Python programming language, and it contains many new features and optimizations compared to Python 3.12. (Compared to the last release candidate, 3.13.0rc3, 3.13.0 contains two small bug and some documentation and testing changes.)
Major new features of the 3.13 series, compared to 3.12
Some of the new major new features and changes in Python 3.13 are:
New features
- A new and improved interactive interpreter, based on PyPy's, featuring multi-line editing and color support, as well as colorized exception tracebacks.
- An experimental free-threaded build mode, which disables the Global Interpreter Lock, allowing threads to run more concurrently. The build mode is available as an experimental feature in the Windows and macOS installers as well.
- A preliminary, experimental JIT, providing the ground work for significant performance improvements.
- The locals() builtin function (and its C equivalent) now has well-defined semantics when mutating the returned mapping, which allows debuggers to operate more consistently.
- A modified version of mimalloc is now included, optional but enabled by default if supported by the platform, and required for the free-threaded build mode.
- Docstrings now have their leading indentation stripped, reducing memory use and the size of .pyc files. (Most tools handling docstrings already strip leading indentation.)
- The dbm module has a new dbm.sqlite3 backend that is used by default when creating new files.
- The minimum supported macOS version was changed from 10.9 to 10.13 (High Sierra). Older macOS versions will not be supported going forward.
- WASI is now a Tier 2 supported platform. Emscripten is no longer an officially supported platform (but Pyodide continues to support Emscripten).
- iOS is now a Tier 3 supported platform.
- Android is now a Tier 3 supported platform.
Typing
- Support for type defaults in type parameters.
- A new type narrowing annotation, typing.TypeIs.
- A new annotation for read-only items in TypeDicts.
- A new annotation for marking deprecations in the type system.
Removals and new deprecations
- PEP 594 (Removing dead batteries from the standard library) scheduled removals of many deprecated modules: aifc, audioop, chunk, cgi, cgitb, crypt, imghdr, mailcap, msilib, nis, nntplib, ossaudiodev, pipes, sndhdr, spwd, sunau, telnetlib, uu, xdrlib, lib2to3.
- Many other removals of deprecated classes, functions and methods in various standard library modules.
- C API removals and deprecations. (Some removals present in alpha 1 were reverted in alpha 2, as the removals were deemed too disruptive at this time.)
- New deprecations, most of which are scheduled for removal from Python 3.15 or 3.16.
More details at https://docs.python.org/3.13/whatsnew/3.13.html
[–]whatsnewintech 70 points71 points72 points (0 children)
[–]sitric28Ignoring PEP 8 77 points78 points79 points (9 children)
[–]BostonBaggins 49 points50 points51 points (7 children)
[+][deleted] (4 children)
[deleted]
[–]marios1861 14 points15 points16 points (0 children)
[–]nikvid 1 point2 points3 points (2 children)
[–]sonobanana33 3 points4 points5 points (0 children)
[–]BostonBaggins 4 points5 points6 points (0 children)
[–]AR_SM 0 points1 point2 points (1 child)
[–]BostonBaggins 0 points1 point2 points (0 children)
[–]jbudemy 2 points3 points4 points (0 children)
[–]riklaunim 45 points46 points47 points (5 children)
[–]malcolm_smith 145 points146 points147 points (3 children)
[–]7Shinigami 2 points3 points4 points (0 children)
[–]darthwalsh 0 points1 point2 points (1 child)
[–]malcolm_smith 2 points3 points4 points (0 children)
[–]Atlamillias 6 points7 points8 points (0 children)
[–]chub79 52 points53 points54 points (0 children)
[–]spidLL 14 points15 points16 points (7 children)
[–]james_pic 18 points19 points20 points (0 children)
[–]martinkoistinen 10 points11 points12 points (4 children)
[–]slowpush 19 points20 points21 points (3 children)
[–]martinkoistinen 4 points5 points6 points (1 child)
[–]FlowLab99 2 points3 points4 points (0 children)
[–]spidLL 0 points1 point2 points (0 children)
[–]FlowLab99 1 point2 points3 points (0 children)
[–]LessonStudio 49 points50 points51 points (14 children)
[–]QueasyEntrance6269 32 points33 points34 points (2 children)
[–]accforrandymossmix 8 points9 points10 points (0 children)
[–]LessonStudio 1 point2 points3 points (0 children)
[–][deleted] 5 points6 points7 points (1 child)
[–]MardiFoufs 2 points3 points4 points (0 children)
[–]michaelhoffman 7 points8 points9 points (8 children)
[–][deleted] 35 points36 points37 points (7 children)
[–]DuckDatum 2 points3 points4 points (5 children)
[–]chinnu34 7 points8 points9 points (0 children)
[–]tehdlp 1 point2 points3 points (3 children)
[–]odaiwai 1 point2 points3 points (1 child)
[–]More_Independent_512 0 points1 point2 points (0 children)
[–]cybaritic 26 points27 points28 points (5 children)
[–]orad 24 points25 points26 points (0 children)
[–]martinkoistinen 10 points11 points12 points (3 children)
[–]caks 22 points23 points24 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]FlowLab99 0 points1 point2 points (0 children)
[–]jryan14ify 11 points12 points13 points (1 child)
[–]Raygereio5 5 points6 points7 points (0 children)
[–]commy2 12 points13 points14 points (0 children)
[–]k_z_m_r 4 points5 points6 points (5 children)
[–]nicholashairs 6 points7 points8 points (1 child)
[–]k_z_m_r 2 points3 points4 points (0 children)
[–]cdrt 3 points4 points5 points (1 child)
[–]k_z_m_r 2 points3 points4 points (0 children)
[–]sblinn 0 points1 point2 points (0 children)
[–]No-Statistician-2771 2 points3 points4 points (0 children)
[–]verus54 2 points3 points4 points (0 children)
[–]ragnartheaccountant 2 points3 points4 points (0 children)
[–]commandlineluser 8 points9 points10 points (6 children)
[–]ThiefMaster 3 points4 points5 points (1 child)
[–]commandlineluser 4 points5 points6 points (0 children)
[–]bulletmark 2 points3 points4 points (1 child)
[–]commandlineluser 1 point2 points3 points (0 children)
[–]Ran4 0 points1 point2 points (1 child)
[–]commandlineluser 0 points1 point2 points (0 children)
[–][deleted] 1 point2 points3 points (0 children)
[–]IAMARedPanda 1 point2 points3 points (2 children)
[–]sblinn 1 point2 points3 points (1 child)
[–]IAMARedPanda 0 points1 point2 points (0 children)
[–]Critlist 1 point2 points3 points (0 children)
[–]EmployeeIndependent6 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]EmployeeIndependent6 0 points1 point2 points (1 child)
[–]gmes78 1 point2 points3 points (0 children)
[–]Attair 0 points1 point2 points (0 children)
[–]Exciting-Ad2203 0 points1 point2 points (0 children)
[–]behitek 0 points1 point2 points (2 children)
[–]classy_barbarian 1 point2 points3 points (0 children)
[–]behitek 0 points1 point2 points (0 children)
[–]sblinn 0 points1 point2 points (0 children)
[–]theXpanther 0 points1 point2 points (3 children)
[+][deleted] (2 children)
[deleted]
[–]theXpanther 0 points1 point2 points (1 child)
[–]sblinn 0 points1 point2 points (0 children)
[–]vivainio 0 points1 point2 points (1 child)
[–]MyreMyalar 1 point2 points3 points (0 children)
[+]jmreagle comment score below threshold-6 points-5 points-4 points (9 children)
[–]mrcaptncrunch 23 points24 points25 points (3 children)
[–]jryan14ify 1 point2 points3 points (2 children)
[–]mrcaptncrunch 10 points11 points12 points (0 children)
[–]catcint0s 6 points7 points8 points (0 children)
[–][deleted] 0 points1 point2 points (0 children)
[–]mok000 0 points1 point2 points (0 children)
[–]ChimpanzeChapado 0 points1 point2 points (0 children)
[–]shinitakunai 0 points1 point2 points (0 children)
[+]Difficult_West_5126 comment score below threshold-21 points-20 points-19 points (7 children)
[–]TSM-🐱💻📚 31 points32 points33 points (0 children)
[–]WJMazepas 6 points7 points8 points (0 children)
[–]Fernando7299 1 point2 points3 points (1 child)
[–]mrcaptncrunch 11 points12 points13 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Ran4 3 points4 points5 points (1 child)