[Zope3-checkins] CVS: Zope3/lib/python/Zope/App/OFS/Container - ContainerTraverser.py:1.4.6.1

Fred L. Drake, Jr. fred@zope.com
Mon, 4 Nov 2002 10:53:44 -0500


R. David Murray writes:
 > Um, a bare except?

We are.  ;-)

 >                     I thought we were very much against bare excepts.
 > I'm not familiar with the introspector, but it seems dangerous to
 > me to mask errors we might want to know about when not doing
 > introspection in order to support introspection.  Of course,
 > there may be a very good reason for this, I'm just suspicious
 > on general principle <grin>.

A good reason should be accompanied by a good comment explaining it at
the except: site.  Whoever knows the reason should add that, or the
try/except may well disappear.


  -Fred

-- 
Fred L. Drake, Jr.  <fred at zope.com>
PythonLabs at Zope Corporation