[Twisted-Python] long-lived database transaction

Christopher Armstrong radix at twistedmatrix.com
Sat Dec 13 15:55:22 EST 2003


Federico Di Gregorio wrote:
> Hi *,
> 
> attached to this mail there are two files that implement long-lived
> database transactions for twisted (xdbapi.py, to be dropped in
> twisted.enterprise) and the necessary unit tests (test_xdbapi.py). 


This looks like a gigantic rape'n'paste of adbapi.py. Isn't there a way 
you can integrate with/refactor adbapi such that you don't duplicate all 
that code?

Also, please create a "Feature"-level issue on the bug tracker for this 
patch (especially since the patch needs discussion):

   http://twistedmatrix.com/bugs/

-- 
  Twisted | Christopher Armstrong: International Man of Twistery
   Radix  |          Release Manager,  Twisted Project
---------+           http://radix.twistedmatrix.com/




More information about the Twisted-Python mailing list