Re: [Zope-dev] improving the utility and adapter lookup APIs

2009-11-27 Thread Matthias Lehmann
Am Mittwoch 25 November 2009 17:54:53 schrieb Chris McDonough: Gary Poster wrote: FWIW, I'm saying that utilities and adapters are different. I share your/Martijn's/other people's general thoughts about merging adapters and multiadapters in the interface __call__ syntax. There might

Re: [Zope-dev] implementing zope.component 4.0

2009-11-30 Thread Matthias Lehmann
Am Montag 30 November 2009 16:57:11 schrieb Gary Poster: As above, I disagree. As a matter of mechanics, when you register something we call an adapter, it is a callable that takes one or more arguments. If we were going to follow the pattern that Marius laid out to establish what

Re: [Zope-dev] Interfaces vs ZCA concepts

2009-12-15 Thread Matthias Lehmann
Am Dienstag 15 Dezember 2009 17:16:12 schrieb Thomas Lotze: So we've decided to let interfaces grow `adapt` and `utility` methods. I've written a simple and straight-forward implementation of them (see the tlotze-component-API branches of zope.interface and zope.component) that is closely