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 mcepl
Recipients mcepl
Date 2019-07-10.07:45:37
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1562744749.11.0.451053951717.issue37539@roundup.psfhosted.org>
In-reply-to
Content
When building Python 2.7.16 on very old SUSE Enterprise Linux (SLE-11), with gcc 4.3, sqlite3 3.6.4, CheckCommitCursorReset fails with:

test test_sqlite failed -- Traceback (most recent call last):
  File "/usr/src/packages/BUILD/Python-2.7.16/Lib/sqlite3/test/regression.py", line 338, in CheckCommitCursorReset
    con.commit()
OperationalError: cannot commit transaction - SQL statements in progress

It seems to me the problem is that the select from https://github.com/python/cpython/blob/master/Lib/sqlite3/test/regression.py#L353 is still open, while we run con.commit(). It should be probably better to store output of that enumerate somewhere and work on that variable instead.
History
Date User Action Args
2019-07-10 07:45:49mceplsetrecipients: + mcepl
2019-07-10 07:45:49mceplsetmessageid: <1562744749.11.0.451053951717.issue37539@roundup.psfhosted.org>
2019-07-10 07:45:49mcepllinkissue37539 messages
2019-07-10 07:45:48mceplcreate