Message378832
No, unless we can add `self` as a private context to a sqlite3 database handle, we can't use that shortcut. However, using a custom context struct works, and it's a minor code change.
Proof-of-concept implementation diffstat:
2 files changed, 54 insertions(+), 10 deletions(-) |
|
| Date |
User |
Action |
Args |
| 2020-10-17 20:46:09 | erlendaasland | set | recipients:
+ erlendaasland, vstinner, berker.peksag, corona10 |
| 2020-10-17 20:46:09 | erlendaasland | set | messageid: <[email protected]> |
| 2020-10-17 20:46:09 | erlendaasland | link | issue42064 messages |
| 2020-10-17 20:46:09 | erlendaasland | create | |
|