Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings
Discussion options

[The next pre-release of Python 3.13 will be 3.13.0b3, currently scheduled for 2024年06月25日]

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.
•A preliminary, experimental JIT, providing the ground work for significant performance improvements.
•The (cyclic) garbage collector is now incremental, which should mean shorter pauses for collection in programs with a lot of objects.
•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.
Typing
•Support for type defaults in type parameters.
•A new type narrowing annotation, typing.TypeIs
•A new annotation for read-only items in TypeDicts.
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.
(Hey, fellow core developer, if a feature you find important is missing from this list, let Thomas know.)

For more details on the changes to Python 3.13, see What's new in Python 3.13. The next pre-release of Python 3.13 will be 3.13.0b3, currently scheduled for 2024年06月25日.


This discussion was created from the release New Version Python 3.13.
You must be logged in to vote

Replies: 1 comment

Comment options

But this version of Python has already arrived? But, perhaps there is a little changes in this version.

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet

AltStyle によって変換されたページ (->オリジナル) /