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/028615.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
Thu, 05 Sep 2002 10:33:34 -0400
> [RH]
> > > How about adding some mixins to simplify the
> > > implementation of some of the fatter interfaces?

On second thought, I don't think there's enough here to warrant
putting this in the standard library.  E.g. the example from BaseSet
actually strikes me as indirect: because <= is the natural operation
to provide for sets, hanging everything off __lt__ looks forced.

Maybe this could go into the Demo directory or in some example or
HOWTO.

We'll revise this issue when we are going to introduce a standard type
or interface hierarchy (not for Python 2.3).

--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