You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[sqlite3] allow clearing the authoriser callback #88657
Currently, it is possible to clear both the sqlite3 trace callback and progress handler by passing 'None' as the callback/handler, however it is not possible to clear the authoriser callback.
Suggesting to allow clearing the authoriser callback with set_authorizer(None).
Activity
erlend-aasland commentedon Jun 22, 2021
Currently, it is possible to clear both the sqlite3 trace callback and progress handler by passing 'None' as the callback/handler, however it is not possible to clear the authoriser callback.
Suggesting to allow clearing the authoriser callback with set_authorizer(None).
See also https://sqlite.org/c3ref/set_authorizer.html
pablogsal commentedon Jun 24, 2021
New changeset b19f455 by Erlend Egeberg Aasland in branch 'main':
bpo-44491: Allow clearing the sqlite3 authoriser callback (GH-26863)
b19f455
fix(database): make the SQL read-only authorizer disarm on Python 3.10 (