This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author malin
Recipients malin
Date 2016-12-18.03:19:31
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <>
I'm using Python 3.6.0 RC2.
When I try to run VACUUM command, an exception raised:

conn.execute('begin')  # <- remove this line get the same result

sqlite3.OperationalError: cannot VACUUM from within a transaction

On Python 3.5, everything is fine.
Attached file is the full example code.

related issue: #10740 sqlite3 module breaks transactions and potentially corrupts data

R. David Murray said in #10740 about this issue:
It is an unexpected change in behavior and is therefore probably a bug.  It will work if you set isolation_level=None.  Because of that I don't think it is a release critical bug, though one could wish we'd discovered it earlier.
Date User Action Args
2016-12-18 03:19:32malinsetrecipients: + malin
2016-12-18 03:19:32malinsetmessageid: <>
2016-12-18 03:19:32malinlinkissue29003 messages
2016-12-18 03:19:31malincreate