Re: deciding whether to do work in tpc_vote or tpc_finish

Chris Withers <[email protected]>
Newsgroups gmane.comp.web.zope.devel
Message-ID <[email protected]>
Laurence Rowe wrote:
> """
> After-commit hook
> ------------------
> 
> Sometimes, applications want to execute code after a transaction is
> committed or aborted. 

Okay, but they're not going to be able to do that with an after commit 
hook, since they're never called from abort. The name hints at that, you 
could also go read the code of the abort method in 
transaction._transaction.Transaction.

Unless I'm missing something, in which case, please lemme know...

Chris

-- 
Simplistix - Content Management, Batch Processing & Python Consulting
            - http://www.simplistix.co.uk
_______________________________________________
Zope-Dev maillist  -  [email protected]
https://mail.zope.org/mailman/listinfo/zope-dev
**  No cross posts or HTML encoding!  **
(Related lists - 
 https://mail.zope.org/mailman/listinfo/zope-announce
 https://mail.zope.org/mailman/listinfo/zope )
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.