[Zope-dev] ConflictError shouldn't subclass Exception
Dieter Maurer
dieter at handshake.de
Fri Nov 25 15:49:10 EST 2005
Chris Withers wrote at 2005-11-24 19:34 +0000:
> ...
>and I firmly agree with, that zodb
>conflicts should _not_ sublcass exception.
-1
>That way, there's less chance
>of them being caught by inexperienced programmers putting in try: except
>Exception: 's.
Most people that use an unrestricted "try ... except ..."
use "try: ... except: ..." and not "try: ... except Exception: ...",
thus your proposal will not help much...
>How would we go about making this change?
Do not do it at all.
--
Dieter
More information about the Zope-Dev
mailing list