17 Dec
2009
17 Dec
'09
12:42 a.m.
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