News:

Choose a design and let our professionals help you build a successful website   - ITAcumens

Main Menu

Python 3.9 is here; Find out new features

Started by NiveRoshni, Oct 08, 2020, 02:37 PM

Previous topic - Next topic

NiveRoshni

Python 3.9 is here; Find out new features



Python 3.9 is finally out with significant changes and new features. The programming language has gained popularity over the last few months. The rapidly evolving technologies such as data science and machine learning (ML) have further increased demand for Python. Here are the new features introduced in Python 3.9.

1. Annual release cycle

Python has followed the 18-month release cycle so far. With PEP 602, Python development team has decided to adopt an annual release cycle. The cycle means that the team will introduce fewer features per release. It also means quick feedback on feature testing. According to the new timeline, Python 3.10 will ship in October 2021.

2. Faster by default

With every revision of Python, the programming language enjoys big performance improvements. The first major improvement is the use of vectorcall protocol introduced in v3.8. The second big enhancer is the more efficient parsing of the source code.

3. Python strings and dictionary functions

The programming language makes it easier to manipulate common data types. The v3.9 extends this easily with new features for strings and dictionaries. Strings get new features to remove prefixes and suffixes. In a dictionary, there are union operators to merge two dictionaries and to update the contents of one dictionary with another.

4. Python type operations

The type operators are mainly used for linters and code checkers. Python 3.9 introduces two new features for type hinting and type annotations. In one, type hints are used for the contents of collections. The second addition made to Python's typing mechanism is flexible functions and variable annotations.

Source : https://content.techgig.com/python-3-9-is-here-find-out-new-features/articleshow/78518538.cms