[PEAK] The road to PyProtocols 1.0
Gabriel Jägenstedt
gabriel.j at telia.com
Sun May 30 02:39:58 EDT 2004
On Sun, 30 May 2004 01:43:15 -0400
"Phillip J. Eby" <pje at telecommunity.com> wrote:
> * If 'factory' isn't used anywhere, consider ditching the second
> parameter passed to adapters. That is, instead of calling
> 'someadapter(ob,proto)', just call 'someadapter(ob)'. This would give
> PyProtocols adapters the same calling signature as e.g. Zope adapters.
I don't quite understand what this would imply...
currently I call adapt with three parameters adapt(ob,proto, default)
what does it mean to remove proto?
Or am I missunderstanding where you're coming from?
I thought the whole idea of adapt was that you Should adapt by protocol.
--
//gabriel - a true believer
More information about the PEAK
mailing list