[pypy-issue] Issue #2682: sqlite3.Cursor has lastrowid set to None for multiline INSERT queries (pypy/pypy)
issues-reply at bitbucket.org
Sat Oct 14 18:11:26 EDT 2017
New issue 2682: sqlite3.Cursor has lastrowid set to None for multiline INSERT queries
The attached code fails (assert at line 15) on Pypy2 or Pypy3 5.9.0.
It works well on CPython.
It took me a lot of time to simplify the test case down to this. Surprisingly lastrowid is set to None only if the insert query is a multi line string...
More information about the pypy-issue