Python3.11 - importlib no longer exposes .util

This is true in the REPL as rlcompleter is imported and depends on inspect which depends on importlib.machinery. However it’s not generally true that it’s imported on startup.

$ python -c "import importlib; importlib.machinery"
Traceback (most recent call last):
  File "<string>", line 1, in <module>
AttributeError: module 'importlib' has no attribute 'machinery'