[lldb-dev] [Bug 27227] New: TestImport fails on Python 3
lldb-dev at lists.llvm.org
Tue Apr 5 13:41:44 PDT 2016
Bug ID: 27227
Summary: TestImport fails on Python 3
OS: Windows NT
Component: All Bugs
Assignee: lldb-dev at lists.llvm.org
Reporter: amccarth at google.com
CC: llvm-bugs at lists.llvm.org
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.
You are receiving this mail because:
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the lldb-dev