Am 17.11.2010 22:39, schrieb Fred Drake: > On Wed, Nov 17, 2010 at 4:22 PM, Georg Brandl <g.bra...@gmx.net> wrote: >> So it comes down again to what we'd like __all__ to mean foremost: >> public API, or just a list for "import *"? > > It is and has been since its inception *the* list for "import *". > > Any additional meaning will have to accommodate that usage as well.
Seeing that "import *" is discouraged anywhere I look, it might just not be as important anymore. BTW, "open" is listed in __all__ for lots of modules: io, gzip, dbm... and even "ancient" ones like aifc. cheers, Georg _______________________________________________ Python-Dev mailing list Python-Dev@python.org http://mail.python.org/mailman/listinfo/python-dev Unsubscribe: http://mail.python.org/mailman/options/python-dev/archive%40mail-archive.com