[issue23883] __all__ lists are incomplete
Martin Panter
report at bugs.python.org
Thu Jun 25 07:37:54 CEST 2015
Martin Panter added the comment:
I think names should be in __all__ even if they shadow builtins, at least in a new feature release. There is plenty of precedent, e.g. asyncio.TimeoutError; reprlib.repr(); threading.enumerate(). Modules with open() in __all__ include aifc, bz2, codecs, dbm, dbm.dumb, gzip, lzma, os, shelve, wave and webbrowser. Plus, pydoc ignores things excluded from __all__.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue23883>
_______________________________________
More information about the Python-bugs-list
mailing list