Brett Cannon <br...@python.org> added the comment:
I agree that this shouldn't change and at best can be a documentation update to mention the fact that importlib.import_module() doesn't restrict itself to valid syntax names on purpose. ---------- assignee: -> docs@python components: +Documentation nosy: +docs@python priority: normal -> low title: avoid '-' in importlib.import_module and builtins.__import__ -> Document that importlib.import_module accepts names that are not valid Python syntax _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue35358> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com