This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

classification
Title: docs for sqlite3 describe functions not available without recompiling
Type: Stage:
Components: Documentation, Extension Modules Versions: Python 3.2, Python 2.7
process
Status: closed Resolution: fixed
Dependencies: Superseder:
Assigned To: ghaering Nosy List: Kristian.Vlaardingerbroek, docs@python, doughellmann, eric.araujo, ghaering, orsenthil, python-dev
Priority: normal Keywords: patch

Created on 2010-10-03 16:52 by doughellmann, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
issue10020-python27.patch Kristian.Vlaardingerbroek, 2011-06-25 14:09 review
Messages (13)
msg117919 - (view) Author: Doug Hellmann (doughellmann) * (Python committer) Date: 2010-10-03 16:52
The documentation for the sqlite3 module describes enable_load_extension() and load_extension() methods of the Connection object, but those functions are only available if the user has compiled from source *after* modifying the setup.py to turn off SQLITE_OMIT_LOAD_EXTENSION.

I'd like to see the functions enabled by default (by changing setup.py) but at the very least the documentation should be updated.
msg117931 - (view) Author: Gerhard Häring (ghaering) * (Python committer) Date: 2010-10-03 21:31
Without SQLITE_OMIT_LOAD_EXTENSION, builds will break on Mac OS X 10.5 and 10.6 and maybe other platforms.
msg117932 - (view) Author: Gerhard Häring (ghaering) * (Python committer) Date: 2010-10-03 21:48
Fixed in r85208 by adding a note to the docs.
msg117934 - (view) Author: Doug Hellmann (doughellmann) * (Python committer) Date: 2010-10-03 22:45
Thanks, Gerhard!
msg118945 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2010-10-17 15:15
Has this been fixed in 3.1 and 2.7 too?
msg139050 - (view) Author: Kristian Vlaardingerbroek (Kristian.Vlaardingerbroek) Date: 2011-06-25 12:48
Attached patch for Python 2.7. 

Since Issue10268 has not been applied to Python 2.7 the sentence "you must modify setup.py and and remove the line that sets SQLITE_OMIT_LOAD_EXTENSION" still applies.
msg139067 - (view) Author: Kristian Vlaardingerbroek (Kristian.Vlaardingerbroek) Date: 2011-06-25 14:09
Fixed typo (double and).
msg139141 - (view) Author: Roundup Robot (python-dev) (Python triager) Date: 2011-06-26 03:48
New changeset 804a60029091 by Senthil Kumaran in branch '2.7':
Fix Issue10020 - Doc update to sqlite3 module in 2.7 branch.
http://hg.python.org/cpython/rev/804a60029091
msg139144 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011-06-26 04:03
Fixed in branch 2.7. Thanks Kristan. Eric, the documentation patch does not apply to 3.1 because those functions are not present in 3.1.
msg139289 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-27 14:44
I just noticed that the blocks in reST should use three-space indent, not two.
msg139305 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011-06-27 15:54
Eric, you mean for the whole of sqlite3 docmentation or the part in the footnote?
msg139306 - (view) Author: Éric Araujo (eric.araujo) * (Python committer) Date: 2011-06-27 15:58
I mean in the two commits.  I can check the whole file later (and also use automatic reST footnotes, [#] instead of [#fn1]).
msg139693 - (view) Author: Senthil Kumaran (orsenthil) * (Python committer) Date: 2011-07-03 17:25
Fixed the indentation issues. We could not use automatic reST
footnotes because two links refer to same footnote, so left it as
such.
History
Date User Action Args
2022-04-11 14:57:07adminsetgithub: 54229
2011-07-03 17:25:09orsenthilsetmessages: + msg139693
2011-06-27 15:58:32eric.araujosetmessages: + msg139306
2011-06-27 15:54:46orsenthilsetmessages: + msg139305
2011-06-27 14:44:29eric.araujosetmessages: + msg139289
2011-06-26 04:03:26orsenthilsetstatus: open -> closed
nosy: + orsenthil
messages: + msg139144

2011-06-26 03:48:43python-devsetnosy: + python-dev
messages: + msg139141
2011-06-25 20:10:12eric.araujosetversions: - Python 3.1
2011-06-25 14:09:05Kristian.Vlaardingerbroeksetfiles: + issue10020-python27.patch

messages: + msg139067
2011-06-25 14:08:41Kristian.Vlaardingerbroeksetfiles: - issue10020-python27.patch
2011-06-25 12:48:58Kristian.Vlaardingerbroeksetfiles: + issue10020-python27.patch

nosy: + Kristian.Vlaardingerbroek
messages: + msg139050

keywords: + patch
2010-10-17 15:15:56eric.araujosetnosy: + eric.araujo
messages: + msg118945
2010-10-03 22:45:43doughellmannsetstatus: pending -> open

messages: + msg117934
2010-10-03 21:48:31ghaeringsetstatus: open -> pending
resolution: fixed
messages: + msg117932
2010-10-03 21:31:21ghaeringsetmessages: + msg117931
2010-10-03 19:20:36pitrousetassignee: docs@python -> ghaering

nosy: + ghaering
versions: + Python 3.1, Python 3.2
2010-10-03 16:52:40doughellmannsetassignee: docs@python

components: + Documentation
nosy: + docs@python
2010-10-03 16:52:31doughellmanncreate