@@ -743,7 +743,14 @@ Connection Objects
743
743
aggregates or whole new virtual table implementations. One well-known
744
744
extension is the fulltext-search extension distributed with SQLite.
745
745
746
- Loadable extensions are disabled by default. See [#f1 ]_.
746
+ .. note ::
747
+
748
+ The ``sqlite3 `` module is not built with loadable extension support by
749
+ default, because some platforms (notably macOS) have SQLite
750
+ libraries which are compiled without this feature.
751
+ To get loadable extension support,
752
+ you must pass the :option: `--enable-loadable-sqlite-extensions ` option
753
+ to :program: `configure `.
747
754
748
755
.. audit-event :: sqlite3.enable_load_extension connection,enabled sqlite3.Connection.enable_load_extension
749
756
@@ -760,8 +767,6 @@ Connection Objects
760
767
Enable extension loading with :meth: `enable_load_extension ` before
761
768
calling this method.
762
769
763
- Loadable extensions are disabled by default. See [#f1 ]_.
764
-
765
770
.. audit-event :: sqlite3.load_extension connection,path sqlite3.Connection.load_extension
766
771
767
772
.. versionadded :: 3.2
@@ -1699,12 +1704,3 @@ the context manager is a no-op.
1699
1704
nor closes the connection.
1700
1705
1701
1706
.. literalinclude :: ../includes/sqlite3/ctx_manager.py
1702
-
1703
-
1704
- .. rubric :: Footnotes
1705
-
1706
- .. [#f1 ] The sqlite3 module is not built with loadable extension support by
1707
- default, because some platforms (notably macOS) have SQLite
1708
- libraries which are compiled without this feature. To get loadable
1709
- extension support, you must pass the
1710
- :option: `--enable-loadable-sqlite-extensions ` option to configure.
0 commit comments