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.

Martin

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

_______________________________________________
Zope-Dev maillist  -  Zope-Dev@zope.org
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )

Reply via email to