New GitHub issue #95912 from erlend-aasland:<br>

<hr>

<pre>
Quoting the SQLite docs, https://www.sqlite.org/c3ref/complete.html:

> If a memory allocation fails, then SQLITE_NOMEM is returned.

For this condition, `sqlite3.complete_statement` should raise `MemoryError`.
</pre>

<hr>

<a href="https://github.com/python/cpython/issues/95912">View on GitHub</a>
<p>Labels: type-bug, 3.11, 3.10, 3.12, expert-sqlite3</p>
<p>Assignee: erlend-aasland</p>