[issue23883] __all__ lists are incomplete

Martin Panter report at bugs.python.org
Thu Jun 25 08:02:58 CEST 2015


Martin Panter added the comment:

Jacek: If we used the ModuleType check, and somebody adds a module-level constant (like logging.CRITICAL = 50), the test will automatically detect if they forget to update __all__. That is what I meant by the test being stricter. But it looks like you went for the other option, which has its own relative advantages :)

Will try to to a proper review later when I get a chance.

----------

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


More information about the Python-bugs-list mailing list