[issue43763] [sqlite3] Use SQLITE_DBCONFIG_ENABLE_LOAD_EXTENSION iso. sqlite3_enable_load_extension()

Erlend Egeberg Aasland report at bugs.python.org
Wed Apr 7 09:15:07 EDT 2021


Erlend Egeberg Aasland <erlend.aasland at innova.no> added the comment:

Attached patch alters the behaviour of sqlite3.Connection.enable_load_extension() to never enabling the SQL API.

This may require a deprecation period and a warning since it's a change in behaviour, but since enable_load_extention() is not enabled by default, we can perhaps do without the warning?

----------
keywords: +patch
Added file: https://bugs.python.org/file49939/patch.diff

_______________________________________
Python tracker <report at bugs.python.org>
<https://bugs.python.org/issue43763>
_______________________________________


More information about the Python-bugs-list mailing list