Brett Cannon added the comment: Sorry, that should have been importlib.util.find_spec(). ---------- _______________________________________ Python tracker <report at bugs.python.org> <http://bugs.python.org/issue21157> _______________________________________