[Zope3-dev] RFC: should z.a.c.attribute.AttributeIndex index None values?

Gary Poster gary at zope.com
Fri Nov 17 11:35:26 EST 2006


On Nov 17, 2006, at 11:29 AM, Adam Groszer wrote:

> Hello Gary,
>
> At the moment it is
> try:
>     value = value()
> except:
>     return None
>
> So that will eat the exception without any signs.
> That makes me also glum when I have to dig deep to discover that
> something ate an exception.
>
> I propose to remove the try/except.
> Is that OK?

Yes, I think removing the bare try...except is definitely the right  
thing to do.  (Anyone care to disagree?)

Gary


More information about the Zope3-dev mailing list