@@ -753,7 +753,14 @@ Connection Objects
753
753
aggregates or whole new virtual table implementations. One well-known
754
754
extension is the fulltext-search extension distributed with SQLite.
755
755
756
- Loadable extensions are disabled by default. See [#f1 ]_.
756
+ .. note ::
757
+
758
+ The ``sqlite3 `` module is not built with loadable extension support by
759
+ default, because some platforms (notably macOS) have SQLite
760
+ libraries which are compiled without this feature.
761
+ To get loadable extension support,
762
+ you must pass the :option: `--enable-loadable-sqlite-extensions ` option
763
+ to :program: `configure `.
757
764
758
765
.. audit-event :: sqlite3.enable_load_extension connection,enabled sqlite3.Connection.enable_load_extension
759
766
@@ -770,8 +777,6 @@ Connection Objects
770
777
Enable extension loading with :meth: `enable_load_extension ` before
771
778
calling this method.
772
779
773
- Loadable extensions are disabled by default. See [#f1 ]_.
774
-
775
780
.. audit-event :: sqlite3.load_extension connection,path sqlite3.Connection.load_extension
776
781
777
782
.. versionadded :: 3.2
@@ -1716,12 +1721,3 @@ the context manager is a no-op.
1716
1721
nor closes the connection.
1717
1722
1718
1723
.. literalinclude :: ../includes/sqlite3/ctx_manager.py
1719
-
1720
-
1721
- .. rubric :: Footnotes
1722
-
1723
- .. [#f1 ] The sqlite3 module is not built with loadable extension support by
1724
- default, because some platforms (notably macOS) have SQLite
1725
- libraries which are compiled without this feature. To get loadable
1726
- extension support, you must pass the
1727
- :option: `--enable-loadable-sqlite-extensions ` option to configure.
0 commit comments