[Lldb-commits] [PATCH] D96833: [lldb] Print a useful error message when trying to import modules with dots or dashes

Jonas Devlieghere via Phabricator via lldb-commits lldb-commits at lists.llvm.org
Tue Feb 16 19:17:14 PST 2021


JDevlieghere added a comment.

FWIW I played around with `__import__` and `importlib.import_module` which does allow you to import modules with dashes, but unlike `import` it doesn't add them to the globals. I'm sure there's a way around that, but it didn't seem worth to additional complexity.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D96833/new/

https://reviews.llvm.org/D96833



More information about the lldb-commits mailing list