[Python-Dev] Breaking undocumented API
barry at python.org
Thu Nov 11 16:05:16 CET 2010
On Nov 12, 2010, at 12:02 AM, Nick Coghlan wrote:
>My personal opinion is that we should be trying to get the standard
>library to the point where __all__ definitions are unnecessary - if a
>name isn't in __all__, it should start with an underscore (and if that
>is true, then the __all__ definition becomes effectively redundant).
Agreed, though I wouldn't *remove* __all__'s, I would establish a convention
where they can be generated programmatically. Keeping __all__ in sync with
the code is a PITA. It screams for automation.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 836 bytes
Desc: not available
More information about the Python-Dev