Brett Cannon added the comment: This could be an attribute on importlib.machinery.SourceLoader instead of an attribute in importlib.util. ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue18192> _______________________________________