On Sunday 02 February 2003 3:40 pm, Dieter Maurer wrote:

> This is flawed as error handling is done outside of a transaction.

Excellent analysis. A futher problem is that this could cause dangling 
references, and a subsequent POSKeyError, since persistent objects can be 
passed from one transaction to the next inside the exception and traceback.

The same applies to your prorosed fix. Is there a need to allow the error 
handling transaction to commit? I propose it always be aborted.

Toby Dickenson

Zope-Dev maillist  -  [EMAIL PROTECTED]
**  No cross posts or HTML encoding!  **
(Related lists -
 http://mail.zope.org/mailman/listinfo/zope )

Reply via email to