[Zope-Checkins] CVS: Zope3/src/ZODB - Connection.py:1.114.2.1 coptimizations.c:1.26.6.1 serialize.py:1.2.10.1

Fred L. Drake, Jr. fred at zope.com
Fri Jan 9 15:13:13 EST 2004


Jeremy Hylton writes:
 > So if you have a getattr hook and it raises a TypeError, hasattr() will
 > just return False.  ZODB is full of complicated getattr hooks.  A bug in
 > one of those ends up being even more baffling if you use hasattr(),
 > because you never see the exception.

Argh!  I see my error now.  Nevermind; I'll change it back.


  -Fred

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



More information about the Zope-Checkins mailing list