[Zope-Coders] TAL on-error
Guido van Rossum
guido@python.org
Wed, 12 Jun 2002 09:19:26 -0400
> Because of the circumstances surrounding the error reports, I have a
> theory that TAL "on-error" statements allow folks to trap and ignore
> ConflictErrors, resulting in the inadvertent commit of half-finished
> transactions.
>
> I've looked at the TAL source and it doesn't appear that TAL does
> anything special with ConflictErrors, which is wrong (it needs to let
> them pass through, always).
Are there any unqualified 'except:' clauses? Perhaps those should be
changed into
except ConflictError:
raise
except:
...what whas there before...
--Guido van Rossum (home page: http://www.python.org/~guido/)