Re: implementing zope.component 4.0

Martin Aspeli <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
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  -  [email protected]
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 )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.