Description
Documentation
The docs for the sqlite3
library make it sound like loadable extensions are generally not available, and the only way to get this feature is to rebuild python. But this is available in:
- standard python on my ubuntu laptop
- the python docker image (including
python:slim
) - my ancient macbook air has the config flag (probably because of homebrew)
Is it worth changing the docs to make it clear this is available by default in some places?
https://github.com/python/cpython/blob/3.10/Doc/library/sqlite3.rst
Current docs:
The sqlite3 module is not built with loadable extension support by default, because some platforms (notably macOS) have SQLite libraries which are compiled without this feature. To get loadable extension support, you must pass the --enable-loadable-sqlite-extensions option to configure.
Is it worth changing this to:
Loadable extension support is controlled by the
--enable-loadable-sqlite-extensions
build option. Because some platform SQLite libraries are compiled without this feature, this isn't available everywhere. Look atsysconfig.get_config_var('CONFIG_ARGS')
to make sure.
Metadata
Metadata
Assignees
Projects
Status