Replace imp with importlib to support Python 3.12
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.
Edited by Heiko Becker
Due to an influx of spam, we have had to impose restrictions on new accounts. Please see this wiki page for instructions on how to get full permissions. Sorry for the inconvenience.
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.