The latest version of Python is "the best ever", say devs

The Python banner logo on a computer screen running a code editor.
(Image credit: Shutterstock / Trismegist san)

The latest version of the programming language Python, 3.11 has been unveiled, with its development team claiming that the new edition might just be the best yet.

In the release notes, Pablo Galindo Salgado, Python Steering Council member and the release manager for the current version, alongside fellow team members Steve Dower and Ned Deily, wrote the team has “put a lot of effort into making 3.11 the best version of Python possible”.

They also listed the keynote improvements in Python 3.11: “better tracebacks”, “faster Python”, “exception groups and except*”, in addition to offering various improvements to typing.

Python 3.11's latest improvements

The Python release team claimed in the release notes that Python 3.11 “is up to 10-60 percent faster than Python 3.10”, and reported measuring 1.22x speedups on average, courtesy of the Faster CPython Project.

Though it is worth pointing out this likely only applies to pure Python code, and Python itself has never been the fastest programming language out there, that’s still impressive.

Several Python Enhancement Proposals (PEPs) promise to offer more concrete quality of life improvements.

PEP 657, for example, will introduce more detailed error reports for tracebacks - reports detailing function calls within a python script, making debugging that much more straightforward. PEP 680, meanwhile, means that Python will be able to parse TOML files, commonly used for configuration files without the need for an external library.

However, as The Register reports, PYC files compiled by the Python interpreter are now, on average, 22% larger, and while the Python team stand by the change,  they have issued an opt-out, in the form of “PYTHONNODEBUGRANGES”, a new environmental variable.

PEP 654, on the other hand, allows for handling several exceptions at once with the introduction of exception groups and the new except* syntax.

Python 3.11 should also encourage developers to use data types more, thanks to some new features, and more subtle changes that give developers more control in the backend.

Perhaps the best illustration of this is PEP 675, which allows users to declare arbitrary string types, but there’s also PEP 673 (the Self Type), an intuitive way to annotate methods that return instances of the same class. Finally, PEP 646 (Variadic Generics), allowing generics to store several types at once for assignment to objects later.

Luke Hughes
Staff Writer

 Luke Hughes holds the role of Staff Writer at TechRadar Pro, producing news, features and deals content across topics ranging from computing to cloud services, cybersecurity, data privacy and business software.

Read more
A person using a desktop computer.
Best IDE for Python of 2025
The Python banner logo on a computer screen running a code editor.
Best Python online course of 2025
Computer programming code. Programming code abstract technology background of software developer and Computer script.
Best text editor of 2025
Ryzen 9000 promotional material
AMD's most powerful processor ever actually runs better on Windows 10 than Windows 11
GIMP 3.0 interface from the website
Our favorite free photo editor finally got the update it deserves - and these are the top 5 features designers should know about
Windows 11 forced onto old hardware
Windows 11 is still my favorite OS, ads and all
Latest in Pro
Branch office chairs next to a TechRadar-branded badge that reads Big Savings.
This office chair deal wins the Amazon Spring Sale for me and it's so good I don't expect it to last
Saily eSIM by Nord Security
"Much more than just an eSIM service" - I spoke to the CEO of Saily about the future of travel and its impact on secure eSIM technology
NetSuite EVP Evan Goldberg at SuiteConnect London 2025
"It's our job to deliver constant innovation” - NetSuite head on why it wants to be the operating system for your whole business
FlexiSpot office furniture next to a TechRadar-branded badge that reads Big Savings.
Upgrade your home office for under $500 in the Amazon Spring Sale: My top picks and biggest savings
Beelink EQi 12 mini PC
I’ve never seen a PC with an Intel Core i3 CPU, 24GB RAM, 500GB SSD and two Gb LAN ports sell for so cheap
cybersecurity
Chinese government hackers allegedly spent years undetected in foreign phone networks
Latest in News
Open AI
OpenAI live stream - could we see a major ChatGPT upgrade?
Apple WWDC 2025 announced
Apple just announced WWDC 2025 starts on June 9, and we'll all be watching the opening event
Hornet swings their weapon in mid air
Hollow Knight: Silksong gets new Steam metadata changes, convincing everyone and their mother that the game is finally releasing this year
OpenAI logo
OpenAI just launched a free ChatGPT bible that will help you master the AI chatbot and Sora
NetSuite EVP Evan Goldberg at SuiteConnect London 2025
"It's our job to deliver constant innovation” - NetSuite head on why it wants to be the operating system for your whole business
Monster Hunter Wilds
Monster Hunter Wilds Title Update 1 launches in early April, adding new monsters and some of the best-looking armor sets I need to add to my collection