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-02-19.20:12:00
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1613765520.87.0.579689540293.issue43251@roundup.psfhosted.org>
In-reply-to
Content
> Well, it returns NULL in case of out of memory, but is it the only cause? Can NULL be returned for other reasons?

According to the SQLite docs, no. Looking at the source code, we see that it also returns NULL if the second parameter (column index) is out of range, but we already check that. AFAICS, the only reason for a NULL in our case is OOM.
History
Date User Action Args
2021-02-19 20:12:00erlendaaslandsetrecipients: + erlendaasland, berker.peksag, serhiy.storchaka
2021-02-19 20:12:00erlendaaslandsetmessageid: <1613765520.87.0.579689540293.issue43251@roundup.psfhosted.org>
2021-02-19 20:12:00erlendaaslandlinkissue43251 messages
2021-02-19 20:12:00erlendaaslandcreate