[DB-SIG] MySQLdb: DeprecationWarning: begin() is non-standard and will be removed in 1.3

Paul DuBois paul at snake.net
Fri Aug 11 01:48:51 CEST 2006


I'm seeing this from my scripts that use MySQLdb now:

./transaction.py:63: DeprecationWarning: begin() is non-standard and will be
removed in 1.3
  conn.begin ()

So, what's the standard thing to do?  Just omit the begin() calls?  (Given
that MySQLdb starts with auto-commit disabled, presumably that means only
commit() and rollback() are needed?)




More information about the DB-SIG mailing list