Latest Features of Python 3.8
Python is nowadays a popular language which is used in different domains ranging from Technology to Research, Business to Health Sector, etc.,
Python Software Foundation(PSF) is an Organization that develops Python language so that it’s available as Open Source.
It is fast and easy way to learn for both existing experts and beginners.
The latest version is Python 3.8.1.
Following are the observations collected from Python Documentation.
New Module:
The new Module added in latest version is importlib.metadata module provides (provisional) support for reading metadata from thirdparty
packages. For example, it can extract an installed package’s version number, list of files, and more.
Improved Modules:
The following modules are been improved from the earlier versions.
- CSV : csv.DictReader
- datetime: with new constructors “datetime.date.fromisocalendar()” and “datetime.datetime. fromisocalendar()”.
- ctypes: DLL directory can be created.
- cProfile: Can be used as Context Manager like “with”
- lru_cache(): Can be used as a decorator “@lru_cache”
- JSON: json.tools
- ast
- asyncio
- collection
- math
- gZip etc.,
Deprecated Module:
- The” isAlive()” method of “threading.Thread” has been deprecated.(No more Used).
- Built-in and extension functions that take integer arguments will now indicate a deprecation warning for
Decimals, Fractions and any other objects.
Feature Removals
The following features have been removed from Python 3.8 :
- The “XMLParser” constructor no longer accepts the” html argument”.
- Removed the “doctype()” method of “XMLParser”.
- “unicode_internal” codec is removed.
- The “Cache” and “Statement” objects of the “sqlite3” module are removed.