New submission from Erlend Egeberg Aasland <erlend.aasl...@innova.no>:
AFAICS, the docs for sqlite3_column_name() says that if it returns NULL, we are out of memory, thus we should call PyErr_NoMemory() and bail. FYI, there are the calls to sqlite3_column_name() in Modules/_sqlite//cursor.c Ref: - http://sqlite.org/c3ref/column_name.html - http://sqlite.org/c3ref/free.html ---------- components: Library (Lib) messages: 387214 nosy: berker.peksag, erlendaasland, serhiy.storchaka priority: normal severity: normal status: open title: sqlite3_column_name() failures should call PyErr_NoMemory() versions: Python 3.10 _______________________________________ Python tracker <rep...@bugs.python.org> <https://bugs.python.org/issue43251> _______________________________________ _______________________________________________ Python-bugs-list mailing list Unsubscribe: https://mail.python.org/mailman/options/python-bugs-list/archive%40mail-archive.com