Bug ID 27227
Summary TestImport fails on Python 3
Product lldb
Version unspecified
Hardware PC
OS Windows NT
Status NEW
Severity normal
Priority P
Component All Bugs
Assignee lldb-dev@lists.llvm.org
Reporter amccarth@google.com
CC llvm-bugs@lists.llvm.org
Classification Unclassified
In Python 3, it seems import commands work only if the module name matches the
directory name. Thus lldb commands like this fail:
command script import ./foo/foo2.py --allow-reload
While commands like this succeed:
command script import ./foo/foo.py --allow-reload
There have been changes to the import rules between Python 2 and 3 that may be
relevant, but I'm not Python expert enough to understand the root problem or to
propose a fix.