[Python-Dev] Breaking undocumented API
Georg Brandl
g.brandl at gmx.net
Wed Nov 17 22:50:10 CET 2010
Am 17.11.2010 22:39, schrieb Fred Drake:
> On Wed, Nov 17, 2010 at 4:22 PM, Georg Brandl <g.brandl at 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
More information about the Python-Dev
mailing list