Author pablogsal
Recipients erlendaasland, pablogsal, terry.reedy, vstinner, zzzeek
Date 2021-06-05.01:36:39
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1622856999.29.0.79364188631.issue44304@roundup.psfhosted.org>
In-reply-to
Content
The problem is that this is wrong:

https://github.com/python/cpython/blob/f171877ebe276749f31386baed5841ce37cbee2e/Modules/_sqlite/statement.c#L411-L423

1) tp_clear should *not* do anything other than cleaning refs to python objects
2) sqlite3_finalize is called without the GIL but that can trigger a call to the destructor of the session (_destructor()) that executes Python code
History
Date User Action Args
2021-06-05 01:36:39pablogsalsetrecipients: + pablogsal, terry.reedy, vstinner, zzzeek, erlendaasland
2021-06-05 01:36:39pablogsalsetmessageid: <1622856999.29.0.79364188631.issue44304@roundup.psfhosted.org>
2021-06-05 01:36:39pablogsallinkissue44304 messages
2021-06-05 01:36:39pablogsalcreate