Ian Bicking wrote:
Calling .transaction() gives you a transaction connection, that has to later be used to be of any use. It's already begun, only if you rollback or commit must you call .begin().

That explains it. I would tend to agree with your question on lines 807-808 of dbconnection.py: I think begin should be a nop at least once. I'd agree that multiple calls to begin should perhaps assert, but it isn't obvious that creating a transaction automatically begins it. Especially when there is an explicit begin method.


--
Jeff Watkins
http://metrocat.org/

Reply via email to