Skip to content

Replace imp with importlib to support Python 3.12

Heiko Becker requested to merge heirecka/pyxdg:replace-imp-with-importlib into master

The imp module has been removed from Python 3.12 [1], replace it with importlib. importlib.reload() is available since Python 3.4.

Fixes #34.

[1] https://docs.python.org/3.12/whatsnew/3.12.html

Edited by Heiko Becker

Merge request reports

Loading