]> git.ipfire.org Git - thirdparty/Python/cpython.git/commit
bpo-42064: Migrate to `sqlite3_create_collation_v2` (GH-27156)
authorErlend Egeberg Aasland <erlend.aasland@innova.no>
Tue, 27 Jul 2021 13:54:20 +0000 (15:54 +0200)
committerGitHub <noreply@github.com>
Tue, 27 Jul 2021 13:54:20 +0000 (15:54 +0200)
commit890e22957d427ee994b85d62dfe4d5a7cbd34ec5
treeb20dad5ada209730b02ba55722288c4049dacaf0
parent2e41df4d60d71a2551b9605d07321f75cfb52adf
bpo-42064: Migrate to `sqlite3_create_collation_v2` (GH-27156)

This implies that SQLite now takes care of destroying the callback
context (the PyObject callable it has been passed), so we can strip the
collation dict from the connection object.
Modules/_sqlite/connection.c
Modules/_sqlite/connection.h