LLDB does not like to import Python files with dashes or dots in their name. While the former are technically allowed, they're discouraged . Dots are allowed for subpackages but not in module names. This patch improves the user experience by printing a useful error.
Currently lldb prints:
error: module importing failed: SyntaxError('invalid syntax', ('<string>', 1, 11, 'import foo-bar\n'))
After this patch:
error: module importing failed: Python discourages dashes in module names: foo-bar