The loader used to load the module (see module.__loader__). The finder should always set this attribute.
importlib.machinery/ModuleSpec.loader
ModuleSpec.loader