Resolve a name to an object.
A backport of Python 3.9's pkgutil.resolve_name. See the Python 3.9 documentation <https://docs.python.org/3.9/library/pkgutil.html#pkgutil.resolve_name>__.
pkgutil.resolve_name
Python 3.9 documentation <https://docs.python.org/3.9/library/pkgutil.html#pkgutil.resolve_name>