[Python-Dev] __getitem__ & slice question

Tim Peters tim.one@comcast.net
Fri, 15 Mar 2002 13:29:43 -0500


[Skip Montanaro]
> I said that while I was in the midst of adding __all__ to everything!
> Nobody listened... :-(

I questioned it frequently <wink>.

[Fred Drake, Jr.]
> Feel free to remove any that are specifically found to get in the
> way.  Just tossing them all would probably not help; I think it makes
> more sense to do this as bugs get reported that are specifically fixed
> by removing them.  Anytime we feel the need to add to __all__ is
> probably a good time to remove an __all__.  ;-)

-1.  For good or ill, the mechanism is there now, and is the only we have to
distinguish intended exports from accidental exports, given that nobody
dared do the truly sane thing (renaming accidentally exported names to use a
leading underscore).