Python News: What’s New From March 2023

By Akash
on 01-11-2023 11:12 AM

In March 2023, Python 3.12.0 alpha 6 was released! With several exciting new features, improvements, and optimizations, this release is a must-try for all Python enthusiasts. If you want to stay on the cutting edge of Python development, then you should really take it for a spin. But keep in mind that this release isn’t recommended for production.

The Python community has been buzzing with activities and events. PyCascades 2023 took place in Vancouver, British Columbia. The event featured talks and presentations on several Python topics. If you’re itching to get involved in the Python community, then you should know that the upcoming PyCon US 2023 has called for volunteers.Finally, the AI explosion is shaking up the coding world. GitHub Copilot has just announced Copilot X, a new vision for AI-assisted development.
Let’s dive into the most exciting Python news from March 2023!
The Python development team released Python 3.12.0 alpha 6, which is the second to last alpha version before the feature freeze kicks in for the beta phase:
This latest release continues to improve Python’s error messages. For example, now the interpreter can suggest standard-library modules in error messages for NameError. It can also provide attribute name suggestions when a NameError occurs. This release also added support for the Linux perf profiler as a new feature. Yes, now the interpreter supports the perf profiler through the new environment variable PYTHONPERFSUPPORT, the new command-line option -X perf, and an API.

Several standard-library modules have benefited from various improvements. So far, those modules include array, asyncio, inspect, pathlib, math, sqlite3, os, typing, sys, and a few others.