summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSenthil Kumaran <senthil@uthcode.com>2011-06-26 03:48:21 (GMT)
committerSenthil Kumaran <senthil@uthcode.com>2011-06-26 03:48:21 (GMT)
commit7bf5ba0f79a1193c9cd4d6e0aca7c56f5e733ca1 (patch)
treeeadf092d17a08d234ee5336c3f28584b208d9cce
parent196273e1d0fb36f554c7ce87ade2e96ae65f3e40 (diff)
downloadcpython-7bf5ba0f79a1193c9cd4d6e0aca7c56f5e733ca1.zip
cpython-7bf5ba0f79a1193c9cd4d6e0aca7c56f5e733ca1.tar.gz
cpython-7bf5ba0f79a1193c9cd4d6e0aca7c56f5e733ca1.tar.bz2
Fix Issue10020 - Doc update to sqlite3 module in 2.7 branch.
-rw-r--r--Doc/library/sqlite3.rst12
1 files changed, 12 insertions, 0 deletions
diff --git a/Doc/library/sqlite3.rst b/Doc/library/sqlite3.rst
index 59ed097..c5dfa5f 100644
--- a/Doc/library/sqlite3.rst
+++ b/Doc/library/sqlite3.rst
@@ -378,6 +378,8 @@ Connection Objects
.. literalinclude:: ../includes/sqlite3/load_extension.py
+ Loadable extensions are disabled by default. See [#f1]_
+
.. method:: Connection.load_extension(path)
.. versionadded:: 2.7
@@ -386,6 +388,8 @@ Connection Objects
enable extension loading with :meth:`enable_load_extension` before you can
use this routine.
+ Loadable extensions are disabled by default. See [#f1]_
+
.. attribute:: Connection.row_factory
You can change this attribute to a callable that accepts the cursor and the
@@ -893,3 +897,11 @@ threads. If you still try to do so, you will get an exception at runtime.
The only exception is calling the :meth:`~Connection.interrupt` method, which
only makes sense to call from a different thread.
+
+.. rubric:: Footnotes
+
+.. [#f1] The sqlite3 module is not built with loadable extension support by
+ default, because some platforms (notably Mac OS X) have SQLite libraries which
+ are compiled without this feature. To get loadable extension support, you must
+ modify setup.py and remove the line that sets SQLITE_OMIT_LOAD_EXTENSION.
+