[Python-Dev] Breaking undocumented API
Antoine Pitrou
solipsis at pitrou.net
Sat Nov 13 13:06:46 CET 2010
On Fri, 12 Nov 2010 20:38:16 -0800
Guido van Rossum <guido at python.org> wrote:
>
> Note that __all__ was originally invented to give "from package import
> *" a well-defined meaning when the package included submodules that
> might not have been loaded yet. Using it for other export control
> (while a good idea) could be considered "newfangled". :-)
Newfangled in a rather old way already, then, perhaps :p
regards
Antoine.
More information about the Python-Dev
mailing list