Python 3.8.1 arrives with library updates and bug fixes

Share
  • December 20, 2019

As scheduled, Python 3.8.1 has arrived a week before Christmas. This maintenance release includes some further changes compared to the RC that was released 11 days prior. For this year, it marks the last release on the Python 3.8 branch, as v3.8.2 is scheduled for February 2020.

SEE ALSO: Python dependency management tool Poetry reaches version 1.0.0

Library updates

Python 3.8.1 closes the issue bpo-39022, submitted by jaraco earlier this month, that stated importlib.metadata should be synchronized with importlib_metadata 1.3. importlib.metadata now comes with improvements from importlib_metadata 1.3 regarding aspects such as serialization of EntryPoints and documentation for custom finders.

The issue of pathlib crashing when os.link() was missing has been resolved as well, and an error raised by doctest.testmod(empty_package) has been fixed by adding a patch.

Further changes

Bug fixes include that lineno and col_offset are now consistent with the “if” node parsing an “elif” node, as they point to the “elif” keyword. The new API PySys_Audit previously raised a deprecation warning when using “#” format strings, but this issue has now also been closed.

SEE ALSO: Python is on its way to become the top programming language of 2019

Among further changes, test_relative_path in test_py_compile should no longer fail on macOS Catalina, whereas for Windows users auditing events were added to functions in winreg.

The full changelog offers detailed information on all the updates in Python 3.8.1.

The post Python 3.8.1 arrives with library updates and bug fixes appeared first on JAXenter.

Source : JAXenter