Anthony Sottile <asott...@umich.edu> added the comment:
This is still failing, but now in a different way: Traceback (most recent call last): File "../debian/pymindeps.py", line 185, in <module> main(sys.argv[1:]) File "../debian/pymindeps.py", line 178, in main mf.run_script(arg) File "/tmp/code/Lib/modulefinder.py", line 163, in run_script self.load_module('__main__', fp, pathname, stuff) File "../debian/pymindeps.py", line 92, in load_module m = modulefinder.ModuleFinder.load_module(self, fqname, File "/tmp/code/Lib/modulefinder.py", line 359, in load_module self.scan_code(co, m) File "/tmp/code/Lib/modulefinder.py", line 432, in scan_code self._safe_import_hook(name, m, fromlist, level=0) File "/tmp/code/Lib/modulefinder.py", line 377, in _safe_import_hook self.import_hook(name, caller, level=level) File "../debian/pymindeps.py", line 42, in import_hook return modulefinder.ModuleFinder.import_hook(self, name, caller, File "/tmp/code/Lib/modulefinder.py", line 175, in import_hook q, tail = self.find_head_package(parent, name) File "/tmp/code/Lib/modulefinder.py", line 231, in find_head_package q = self.import_module(head, qname, parent) File "../debian/pymindeps.py", line 48, in import_module m = modulefinder.ModuleFinder.import_module(self, File "/tmp/code/Lib/modulefinder.py", line 325, in import_module m = self.load_module(fqname, fp, pathname, stuff) File "../debian/pymindeps.py", line 92, in load_module m = modulefinder.ModuleFinder.load_module(self, fqname, File "/tmp/code/Lib/modulefinder.py", line 342, in load_module co = compile(fp.read()+b'\n', pathname, 'exec') TypeError: can only concatenate str (not "bytes") to str ---------- _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue40260> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com