Xavier de Gaye added the comment: If one would want to fix this, one way to do it could be to change the following two methods of the PathFinder class such that:
find_module() does not set path to sys.path when its path argument is None, so as to keep this information for _get_loader() to process it later _get_loader() sets path to sys.path when its path argument is None and returns a None loader when a loader has been found by a finder and: - this finder is a FileFinder instance - the _get_loader() path argument is None - the module name is a dotted name ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <http://bugs.python.org/issue16489> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: http://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com