@@ -618,7 +618,14 @@ Connection Objects
618
618
aggregates or whole new virtual table implementations. One well-known
619
619
extension is the fulltext-search extension distributed with SQLite.
620
620
621
- Loadable extensions are disabled by default. See [#f1 ]_.
621
+ .. note ::
622
+
623
+ The ``sqlite3 `` module is not built with loadable extension support by
624
+ default, because some platforms (notably macOS) have SQLite
625
+ libraries which are compiled without this feature.
626
+ To get loadable extension support,
627
+ you must pass the :option: `--enable-loadable-sqlite-extensions ` option
628
+ to :program: `configure `.
622
629
623
630
.. audit-event :: sqlite3.enable_load_extension connection,enabled sqlite3.Connection.enable_load_extension
624
631
@@ -635,8 +642,6 @@ Connection Objects
635
642
Enable extension loading with :meth: `enable_load_extension ` before
636
643
calling this method.
637
644
638
- Loadable extensions are disabled by default. See [#f1 ]_.
639
-
640
645
.. audit-event :: sqlite3.load_extension connection,path sqlite3.Connection.load_extension
641
646
642
647
.. versionadded :: 3.2
@@ -1431,12 +1436,3 @@ the context manager is a no-op.
1431
1436
nor closes the connection.
1432
1437
1433
1438
.. literalinclude :: ../includes/sqlite3/ctx_manager.py
1434
-
1435
-
1436
- .. rubric :: Footnotes
1437
-
1438
- .. [#f1 ] The sqlite3 module is not built with loadable extension support by
1439
- default, because some platforms (notably macOS) have SQLite
1440
- libraries which are compiled without this feature. To get loadable
1441
- extension support, you must pass the
1442
- :option: `--enable-loadable-sqlite-extensions ` option to configure.
0 commit comments