[Python-3000] Adaptation [was:Re: Iterators for dict keys, values, and items == annoying :)]

Neal Norwitz nnorwitz at gmail.com
Sat Apr 1 10:17:44 CEST 2006


On 3/31/06, Alex Martelli <aleaxit at gmail.com> wrote:
>
> So, the fact that (say) Eby or Martelli or the Twisted folks or the
> Zope folks like adaptation, and Ewing or Bicking or (etc ec) dislike
> it, is really a side show. The point that matters, instead, is
> whether GvR likes it or not. From my viewpoint, the first blocking
> issue is thus that GvR sees adaptation as necessarily requiring the
> existence of interfaces as a formal Python concept -- perhaps because
> that's how PyProtocols and Twisted/Zope deploy it -- and thus won't
> really consider it until he's blessed some specific form of interfaces.

The best way to demonstrate a better way is through code.
Compare real code with and without adaptation.

n


More information about the Python-3000 mailing list