Author malin
Recipients Jeremy Banks, Jim.Jewett, Mark.Bucciarelli, Ronny.Pfannschmidt, adamtj, asvetlov, aymeric.augustin, berker.peksag, bkircher, bulb, dholth, flox, ghaering, malin, monsanto, pitrou, python-dev, r.david.murray, scott.urban, steve.dower, torsten, tshepang, zzzeek
Date 2016-12-18.02:45:08
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1482029110.2.0.732508112091.issue10740@psf.upfronthosting.co.za>
In-reply-to
Content
I'm using Python 3.6.0 RC2, I don't know if it's a bug.

When I try to run VACUUM command, an exception raised:

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

sqlite3.OperationalError: cannot VACUUM from within a transaction

~~~~~~~~~~~~~~~~~~~
On Python 3.5, everything is fine.
Attached file cant_vacuum.py is the full example code.
History
Date User Action Args
2016-12-18 02:45:10malinsetrecipients: + malin, ghaering, pitrou, Jeremy Banks, r.david.murray, zzzeek, asvetlov, flox, adamtj, dholth, torsten, monsanto, scott.urban, aymeric.augustin, tshepang, python-dev, Ronny.Pfannschmidt, berker.peksag, Mark.Bucciarelli, Jim.Jewett, steve.dower, bulb, bkircher
2016-12-18 02:45:10malinsetmessageid: <1482029110.2.0.732508112091.issue10740@psf.upfronthosting.co.za>
2016-12-18 02:45:10malinlinkissue10740 messages
2016-12-18 02:45:09malincreate