[Python-checkins] r85208 - python/branches/py3k/Doc/library/sqlite3.rst
gerhard.haering
python-checkins at python.org
Sun Oct 3 23:47:09 CEST 2010
Author: gerhard.haering
Date: Sun Oct 3 23:47:06 2010
New Revision: 85208
Log:
Fixes #10020
Modified:
python/branches/py3k/Doc/library/sqlite3.rst
Modified: python/branches/py3k/Doc/library/sqlite3.rst
==============================================================================
--- python/branches/py3k/Doc/library/sqlite3.rst (original)
+++ python/branches/py3k/Doc/library/sqlite3.rst Sun Oct 3 23:47:06 2010
@@ -381,6 +381,8 @@
.. literalinclude:: ../includes/sqlite3/load_extension.py
+ Loadable extensions are disabled by default. See [#f1]_
+
.. method:: Connection.load_extension(path)
This routine loads a SQLite extension from a shared library. You have to
@@ -389,6 +391,8 @@
.. versionadded:: 3.2
+ 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
@@ -880,3 +884,10 @@
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 and remove the line that sets SQLITE_OMIT_LOAD_EXTENSION.
+
More information about the Python-checkins
mailing list