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
Code using apport/report.py will see the following warning:
/usr/lib/ python3/ dist-packages/ apport/ report. py:13 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
/usr/
import fnmatch, glob, traceback, errno, sys, atexit, locale, imp, stat
The 'imp' module is slated for removal in Python 3.12. /github. com/python/ cpython/ blob/main/ Lib/imp. py#L31
https:/