[Python-ideas] Object adaptation and interfaces and so forth

Jim Jewett jimjjewett at gmail.com
Mon Apr 23 05:33:57 CEST 2007

I think the rejection was refering to parameter annotations.

def f(arg1:int, arg2:"woot the bounding main"): ...

In combination with decorations, this can provide adaptation.


On 4/22/07, Adam Atlas <adam at atlas.st> wrote:
> (Not exactly an idea post, but I don't want to bother python-dev or
> python-3000 with this.)
> PEP 246 was rejected a year or so ago, and Guido's rejection note
> stated "Something much better is about to happen; it's too early to
> say exactly what, but it's not going to resemble the proposal in this
> PEP." Does anyone know if anything has gone on with this concept
> since then? It seems like it has a lot of really interesting
> potential, although I do see why PEP 246's specific proposal was
> rejected. It's just the "Something much better is about to happen"
> that got me curious -- is it happening yet? :)

More information about the Python-ideas mailing list