[issue26632] __all__ decorator

Barry A. Warsaw report at bugs.python.org
Mon May 9 12:59:09 EDT 2016


Barry A. Warsaw added the comment:

On May 09, 2016, at 04:19 PM, Ethan Furman wrote:

>`from ... import *` should not be used with packages that do not have an
>__all__ unless they support that usage (check their docs).

Good idea; I added a warning-ish.

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue26632>
_______________________________________


More information about the Python-bugs-list mailing list