[issue38215] Do not import modules in star-import when __all__ is not defined.

Ethan Furman report at bugs.python.org
Wed Sep 18 13:15:12 EDT 2019


Ethan Furman <ethan at stoneleaf.us> added the comment:

I don't think this is worth the code breakage.

The advice already given is not to use `import *` unless:

- the module was designed for that usage; or
- you know what you are doing.

----------
nosy: +ethan.furman

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue38215>
_______________________________________


More information about the Python-bugs-list mailing list