[Zope] adding properties trough pythonscript

Dieter Maurer dieter at handshake.de
Fri Oct 22 13:39:50 EDT 2004


Sean Hastings wrote at 2004-10-21 16:22 -0400:
>Cool!
>
>I already have a whole bunch of code that uses this sort of error checking,
>and I wanted to make sure that as long as I was careful to specify the
>errors I am trapping that I don't have to rewrite it all.

Hopefully, you observe that it does *NOT* depend on the type
of errors you are trapping but whether or not you changed
(in the try block) persistent state *before* the exception occured
(in this block).

-- 
Dieter


More information about the Zope mailing list