Python 3.8 ends the year with a new minor version

Python 3.8.1 arrives with library updates and bug fixes

Maika Möbus
© Shutterstock / aliaksei kruhlenia

Python 3.8.1 has been released. The first maintenance update for the 3.8 branch follows the release candidate that became available earlier this month, and it addressed a number of issues. Let’s see what has changed for the popular programming language with the latest update.

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 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.

Maika Möbus
Maika Möbus has been an editor for Software & Support Media since January 2019. She studied Sociology at Goethe University Frankfurt and Johannes Gutenberg University Mainz.

Inline Feedbacks
View all comments