[Zope3-dev] Bare excepts in z3c.zalchemy

Philipp von Weitershausen philipp at weitershausen.de
Fri Mar 2 11:00:59 EST 2007


For the lack of a better mailinglist, I'm posting this to zope3-dev:

z3c.zalchemy is pretty cool, but the tons of bare except clauses make me 
a bit uneasy. When I see them, I wonder what this code is expecting to 
fail and why. Plus, there are no comments as to why a try/except was 
used in the first place.

I would offer my help if I knew enough about SQLAlchemy and what kind of 
things can go wrong in those cases. Either way, I'd feel better using 
and recommending zalchemy if it didn't have those bare except clauses...


-- 
http://worldcookery.com -- Professional Zope documentation and training
Next Zope 3 training at Camp5: http://trizpug.org/boot-camp/camp5


More information about the Zope3-dev mailing list