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-September/028599.html below:

[Python-Dev] Proposed Mixins for Wide Interfaces

[Python-Dev] Proposed Mixins for Wide Interfaces [Python-Dev] Proposed Mixins for Wide InterfacesGuido van Rossum guido@python.org
Wed, 04 Sep 2002 20:32:21 -0400
> This is a spur-of-the-moment thought, so it might not be a
> reasonable comment, but do we care that all of these methods will
> show up in when using dir() or any other introspective check?  While
> I think the idea is great, it might give this sense that they are
> really, truly implemented for the class instead of reliant on the
> other implementations; the side effects of changing one of the
> required methods might have unexpected consequences for the user.

dir() *intends* to show methods regardless of whether they are
implemented in the class or in a base class.  So this doesn't sound
like a valid objection.  Pydoc shows inherited methods separately.

--Guido van Rossum (home page: http://www.python.org/~guido/)



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