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 erlendaasland
Recipients berker.peksag, erlendaasland, serhiy.storchaka
Date 2021-04-15.10:00:09
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1618480809.83.0.17163581819.issue43853@roundup.psfhosted.org>
In-reply-to
Content
Fix sqlite3_value_text() usage:
- Raise MemoryError if sqlite3_value_text() sets SQLITE_NOMEM
- Let PyUnicode_FromStringAndSize() errors propagate

Quoting the SQLite docs:
"As long as the input parameter is correct, these routines can only fail if an out-of-memory error occurs"


See also:
- bpo-43296
- https://sqlite.org/c3ref/value_blob.html
History
Date User Action Args
2021-04-15 10:00:09erlendaaslandsetrecipients: + erlendaasland, berker.peksag, serhiy.storchaka
2021-04-15 10:00:09erlendaaslandsetmessageid: <1618480809.83.0.17163581819.issue43853@roundup.psfhosted.org>
2021-04-15 10:00:09erlendaaslandlinkissue43853 messages
2021-04-15 10:00:09erlendaaslandcreate