[Zope-dev] Interfaces vs ZCA concepts

Martin Aspeli optilude+lists at gmail.com
Wed Dec 16 19:42:51 EST 2009


Tres Seaver wrote:

> In either case, I think TypeError (or maybe LookupError) is the *right*
> choice:  we don't want to "hide" zope.component's API functions and then
> turn around and require folks to import zope.component just to catch its
> local exception types.

Yeah, that's a compelling reason.

Martin

-- 
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