Do not use __import__ ?
At line 457 of /cherrypy/lib/reprconf.py there is the use of the
__import__ built-in function.
The documentation for python 2 and 3 both seem to indicate that this function should not be used, it is only for advanced situations, and that instead importlib.import_module() should be used. See here or here
From the docs:
If you simply want to import a module (potentially within a package) by name, use importlib.import_module().