[PEAK] The road to PyProtocols 1.0

Bob Ippolito bob at redivi.com
Sun May 30 13:59:41 EDT 2004

On May 30, 2004, at 1:43 AM, Phillip J. Eby wrote:

> * Check if anybody's using the 'factory' argument to 'adapt()', and if 
> not, get rid of it.
> * 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 think I've used factory before, but I don't believe I've used the 
second argument to adapters.  It wouldn't be a big deal if you removed 
factory, since it can be emulated by defaulting to some token and 
checking for the token after adaptation.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/pkcs7-signature
Size: 2357 bytes
Desc: not available
Url : http://www.eby-sarna.com/pipermail/peak/attachments/20040530/0a81df81/smime.bin

More information about the PEAK mailing list