[issue26632] __all__ decorator

Martin Panter report at bugs.python.org
Sun May 22 19:30:53 EDT 2016


Martin Panter added the comment:

Here are two examples where publicly-documented module attributes are intentionally omitted from __all__:

* Issue 26234: typing.re and typing.io
* Issue 23439: HTTP status codes like http.client.NOT_FOUND

Despite these, I think @public is a reasonable name. But I may be biased, because I personally think everything should be included in __all__. Otherwise pydoc does not pick it up.

----------

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


More information about the Python-bugs-list mailing list