A RetroSearch Logo

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

Search Query:

Showing content from http://mail.python.org/pipermail/python-list/2001-April/107536.html below:

PEP 245: Python interfaces

PEP 245: Python interfaces PEP 245: Python interfacesClark C. Evans cce at clarkevans.com
Wed Apr 4 08:40:13 EDT 2001
On Sat, 31 Mar 2001, Scottie wrote:
> The one further thing I'd like to see is a way to declare that a class
> implements an interface without having to edit either the interface
> or the class -- Imagine the situation where I obtain two packages,
> and I want to tell the one package that it can accept objects from
> the other.

This is very similar to what PEP 246 is attempting to address.
It covers "bi-directional" case.  The case you mention is more
of a third party registry, it is addressed in case "e" of the PEP,
and could be added later if necessary.

Clark



More information about the Python-list mailing list

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