A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://mail.python.org/pipermail/python-dev/2002-March/021213.html below:

[Python-Dev] __getitem__ & slice question

[Python-Dev] __getitem__ & slice question [Python-Dev] __getitem__ & slice questionTim 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).




RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4