[docs] [issue35358] Document that importlib.import_module accepts names that are not valid Python syntax

Brett Cannon report at bugs.python.org
Fri Nov 30 14:55:18 EST 2018


Brett Cannon <brett at 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 at python
components: +Documentation
nosy: +docs at 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 <report at bugs.python.org>
<https://bugs.python.org/issue35358>
_______________________________________


More information about the docs mailing list