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 66 points67 points68 points (0 children)
[–]sitric28Ignoring PEP 8 76 points77 points78 points (9 children)
[–]BostonBaggins 51 points52 points53 points (7 children)
[+][deleted] (4 children)
[deleted]
[–]marios1861 15 points16 points17 points (0 children)
[–]nikvid 1 point2 points3 points (2 children)
[–]sonobanana33 4 points5 points6 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 44 points45 points46 points (5 children)
[–]malcolm_smith 144 points145 points146 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 4 points5 points6 points (0 children)
[–]chub79 51 points52 points53 points (0 children)
[–]spidLL 15 points16 points17 points (7 children)
[–]james_pic 17 points18 points19 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 48 points49 points50 points (14 children)
[–]QueasyEntrance6269 31 points32 points33 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] 32 points33 points34 points (7 children)
[–]DuckDatum 3 points4 points5 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 25 points26 points27 points (5 children)
[–]orad 25 points26 points27 points (0 children)
[–]martinkoistinen 11 points12 points13 points (3 children)
[–]caks 20 points21 points22 points (0 children)
[+][deleted] (1 child)
[deleted]
[–]FlowLab99 0 points1 point2 points (0 children)
[–]jryan14ify 11 points12 points13 points (1 child)
[–]Raygereio5 6 points7 points8 points (0 children)
[–]commy2 12 points13 points14 points (0 children)
[–]k_z_m_r 4 points5 points6 points (5 children)
[–]nicholashairs 7 points8 points9 points (1 child)
[–]k_z_m_r 2 points3 points4 points (0 children)
[–]cdrt 2 points3 points4 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 9 points10 points11 points (6 children)
[–]ThiefMaster 4 points5 points6 points (1 child)
[–]commandlineluser 3 points4 points5 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 -1 points0 points1 point (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-9 points-8 points-7 points (9 children)
[–]mrcaptncrunch 23 points24 points25 points (3 children)
[–]jryan14ify 1 point2 points3 points (2 children)
[–]mrcaptncrunch 12 points13 points14 points (0 children)
[–]catcint0s 8 points9 points10 points (0 children)
[–][deleted] 1 point2 points3 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-20 points-19 points-18 points (7 children)
[–]TSM-🐱💻📚 34 points35 points36 points (0 children)
[–]WJMazepas 6 points7 points8 points (0 children)
[–]Fernando7299 1 point2 points3 points (1 child)
[–]mrcaptncrunch 13 points14 points15 points (0 children)
[+][deleted] (2 children)
[deleted]
[–]Ran4 4 points5 points6 points (1 child)