Python DB API - commit() v. execute("commit transaction")?

Gregory Ewing greg.ewing at canterbury.ac.nz
Fri Jun 2 21:29:21 EDT 2017


Chris Angelico wrote:
> Always using a context manager is good practice and
> great for code clarity.

Another thing about my Firebird interface was that you were
forced to always use transactions, because the transaction
object was the only thing that had methods for executing
statements.

-- 
Greg



More information about the Python-list mailing list