[issue27276] FileFinder.find_spec() incompatible with finder specification

2016-06-08 Thread Paul Marinescu
Changes by Paul Marinescu <p...@fb.com>: -- resolution: -> not a bug status: open -> closed ___ Python tracker <rep...@bugs.python.org> <http://bugs.

[issue27276] FileFinder.find_spec() incompatible with finder specification

2016-06-08 Thread Paul Marinescu
New submission from Paul Marinescu: importlib.machinery.FileFinder.find_spec is incompatible with importlib.abc.MetaPathFinder.find_spec (different number of arguments). The following leads to a runtime error: loader = (importlib.machinery.SourceFileLoader