Message391124
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 |
|
Date |
User |
Action |
Args |
2021-04-15 10:00:09 | erlendaasland | set | recipients:
+ erlendaasland, berker.peksag, serhiy.storchaka |
2021-04-15 10:00:09 | erlendaasland | set | messageid: <1618480809.83.0.17163581819.issue43853@roundup.psfhosted.org> |
2021-04-15 10:00:09 | erlendaasland | link | issue43853 messages |
2021-04-15 10:00:09 | erlendaasland | create | |
|