Use of deprecated 'imp' module

Bug #1947425 reported by Dan Bungert
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Apport
Undecided
Unassigned

Bug Description

Code using apport/report.py will see the following warning:

/usr/lib/python3/dist-packages/apport/report.py:13
  /usr/lib/python3/dist-packages/apport/report.py:13: DeprecationWarning: the imp module is deprecated in favour of importlib; see the module's documentation for alternative uses
    import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat

The 'imp' module is slated for removal in Python 3.12.
https://github.com/python/cpython/blob/main/Lib/imp.py#L31

To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers