February 15, 2021

What Is the Difference Between Transaction Abort and Transaction Doom

Zope is using the transaction package to manage - you guess - transactions. More specifically, a transaction starts when Zope receives a request, and the transaction succeeds when the action triggered by the request works out. When the action causes an exception, the transaction will be rolled back. This means, usually you very rarely have to interfere with the transaction management manually. Last week I was implementing a new XML-RPC API, which basically looks like the following code:...