Python 3.9 Released With New Parser, Python 3.5 Is No Longer Supported

Every release of Python includes new, improved, and deprecated features, and Python 3.9 is no different. Find out more in this article.

Above all, Python is an easy to learn, powerful programming language. It has efficient high-level data structures and a simple but effective approach to object-oriented programming.

Python 3.9 brings a proper Time Zone support. The biggest challenge to working with time zones in plain Python has been that youโ€™ve had to implement time zones rules yourself.

A datetime supports setting time zones, but onlyย UTCย is immediately available. The zoneinfo module brings support for the IANA time zone database to the standard library. It adds zoneinfo.ZoneInfo, a concrete datetime.tzinfo implementation backed by the systemโ€™s time zone data.

One of the coolest features of Python 3.9 is one that you wonโ€™t notice in your daily coding life. A fundamental component of the Python interpreter is the parser. In the latest version, the parser has been reimplemented. Python 3.9 uses a new parser, based on PEG instead of LL.

In addition, Python 3.5 is no longer supported.  There will be no more bug fixes or security patches for the 3.5 series, and Python 3.5.10 is the last release.  The Python core development community recommends that all remaining Python 3.5 users should upgrade to the latest version.

More details on the Python 3.9 improvements via the what’s new documentation.

If you want to try out any of the cool new features youโ€™ll need to use Python 3.9. Itโ€™s possible to install the latest version side by side with your current version of Python.

Bobby Borisov

Bobby Borisov

Bobby, an editor-in-chief at Linuxiac, is a Linux professional with over 20 years of experience. With a strong focus on Linux and open-source software, he has worked as a Senior Linux System Administrator, Software Developer, and DevOps Engineer for small and large multinational companies.

Think You're an Ubuntu Expert? Let's Find Out!

Put your knowledge to the test in our lightning-fast Ubuntu quiz!
Ten questions to challenge yourself to see if you're a Linux legend or just a penguin in the making.

1 / 10

Ubuntu is an ancient African word that means:

2 / 10

Who is the Ubuntu's founder?

3 / 10

What year was the first official Ubuntu release?

4 / 10

What does the Ubuntu logo symbolize?

5 / 10

What package format does Ubuntu use for installing software?

6 / 10

When are Ubuntu's LTS versions released?

7 / 10

What is Unity?

8 / 10

What are Ubuntu versions named after?

9 / 10

What's Ubuntu Core?

10 / 10

Which Ubuntu version is Snap introduced?

The average score is 69%