https://llvm.org/bugs/show_bug.cgi?id=27227

            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: amcca...@google.com
                CC: llvm-b...@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.

-- 
You are receiving this mail because:
You are the assignee for the bug.
_______________________________________________
lldb-dev mailing list
lldb-dev@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-dev

Reply via email to