Quantcast
Channel: Planet Python
Viewing all articles
Browse latest Browse all 23616

Real Python: Python News: What's New From March 2022?

$
0
0

In March 2022, the Python 3.11.0a6 pre-release version became available for you to test, so you can stay on top of Python’s latest features. This release is the sixth of seven planned alpha releases before Python enters the beta phase, which is scheduled for May 5, 2022.

PEPs now have a new home with a sleek, modern theme. Also, PEP 594, which deals with removing dead batteries from the Python standard library, has been accepted. Regarding Python events, EuroPython 2022 held its call for proposals (CFP) and is currently selling tickets for the conference.

Join Now:Click here to join the Real Python Newsletter and you'll never miss another Python tutorial, course update, or post.

Let’s dive into the most exciting Python news from the past month!

Python Released Several New Versions

Almost every month, several Python versions are released. They typically add new features, fix bugs, correct security issues, and more. March 2022 was no exception. You now have several new releases to test, use, and enjoy. Read on to learn more!

Python 3.11.0a6 Became Available

The sixth alpha release of Python became available on March 7. After a week’s delay due to some internal problems, Python 3.11.0a6 is here for you to take for a test drive. Python 3.11 boasts several new features and changes:

  • PEP 657 – Include Fine-Grained Error Locations in Tracebacks
  • PEP 654 – Exception Groups and except*
  • PEP 673 – Self Type
  • PEP 646 – Variadic Generics

To learn more about the basics of these features, check out Python News: What’s New From February 2022?. Additionally, if you’d like an early dive into how fine-grained error locations can improve your coding and debugging experience, check out Python 3.11 Preview: Even Better Error Messages.

To try out the most exciting features that will come with Python 3.11 and to stay up to date with the language’s evolution, go ahead and install the new interpreter. Feel free to select your favorite installation procedure below:

$ docker pull python:3.11.0a6-slim
$ docker run -it --rm python:3.11.0a6-slim

$ pyenv update
$ pyenv install 3.11.0a6
$ pyenv local3.11.0a6
$ python

$ git clone git@github.com:python/cpython.git
$ cd cpython/
$ git checkout v3.11.0a6
$ ./configure
$ make
$ ./python

Give it a try! Go your own way and explore the cool new features of Python 3.11 with your own hands!

Other Python Releases

Read the full article at https://realpython.com/python-news-march-2022/ »


[ Improve Your Python With 🐍 Python Tricks 💌 – Get a short & sweet Python Trick delivered to your inbox every couple of days. >> Click here to learn more and see examples ]


Viewing all articles
Browse latest Browse all 23616

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>