[Python-Dev] Breaking undocumented API

Éric Araujo merwok at netwok.org
Wed Nov 17 22:16:10 CET 2010


> Excluding a builtin name from __all__ sounds like a perfectly sensible
> idea, so even if it wasn't deliberate, I'd say it qualifies as
> fortuitous :)

But then, a tool that looks into __all__ to find for example what
objects to document will miss open.  I’d put open in __all__.

Regards



More information about the Python-Dev mailing list