[Zope-dev] implementing zope.component 4.0

Martin Aspeli optilude+lists at gmail.com
Mon Nov 30 20:00:44 EST 2009

Martijn Faassen wrote:

> The most elegant backwards compatible solution would be multi adaptation 
> using a tuple. I think 'name' can probably also be added to the adapter 
> hook without breaking stuff. People adapting tuples will need an 
> explicit way to do so. It's still backwards incompatible, but the impact 
> is less big.
> In any case, I would like to deprecate non-explicit keywords parameters 
> for 'default' and 'name'.

I think these would be a reasonable compromise.


Author of `Professional Plone Development`, a book for developers who
want to work with Plone. See http://martinaspeli.net/plone-book

More information about the Zope-Dev mailing list