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 loewis
Recipients ghaering, loewis, nagylzs, r.david.murray
Date 2013-01-14.01:04:10
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1358125462.07.0.803043022036.issue16958@psf.upfronthosting.co.za>
In-reply-to
Content
"changes will get committed immediately inside the with, which is simply broken"

What do you mean by that?
A. Changes ought to be committed immediately, but are not; it is broken, and changes must be committed immediately.
- or -
B. What actually happens is that changes are committed immediately, and sqlite is incorrect in doing so.

Your discussion suggests B; in this case, I disagree that there is a bug. In auto-commit mode, it should really auto-commit, regardless of context managers. The context manager documentation doesn't claim otherwise.
History
Date User Action Args
2013-01-14 01:04:27loewissetrecipients: + loewis, ghaering, r.david.murray, nagylzs
2013-01-14 01:04:22loewissetmessageid: <1358125462.07.0.803043022036.issue16958@psf.upfronthosting.co.za>
2013-01-14 01:04:20loewislinkissue16958 messages
2013-01-14 01:04:12loewiscreate