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, ghaering, sir-sigurd
Date 2021-08-26.11:04:41
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1629975881.11.0.639161344316.issue36073@roundup.psfhosted.org>
In-reply-to
Content
Er, a little bit too fast there. There is still a crash, but it is of course postponed bco. bpo-44976. New reproducer:

import sqlite3 as sqlite
con = sqlite.connect(':memory:', detect_types=sqlite.PARSE_COLNAMES)
cur = con.cursor()
sqlite.converters['CURSOR_INIT'] = lambda x: cur.__init__(con)

cur.execute('create table test(x foo)')
cur.execute('insert into test(x) values (?)', ('foo',))
for row in cur.execute('select x as "x [CURSOR_INIT]", x from test'):
    print(row)
History
Date User Action Args
2021-08-26 11:04:41erlendaaslandsetrecipients: + erlendaasland, ghaering, berker.peksag, sir-sigurd
2021-08-26 11:04:41erlendaaslandsetmessageid: <1629975881.11.0.639161344316.issue36073@roundup.psfhosted.org>
2021-08-26 11:04:41erlendaaslandlinkissue36073 messages
2021-08-26 11:04:41erlendaaslandcreate