Issue 10020: docs for sqlite3 describe functions not available without recompiling (original) (raw)

Issue10020

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:07 admin set github: 54229
2011-07-03 17:25:09 orsenthil set messages: +
2011-06-27 15:58:32 eric.araujo set messages: +
2011-06-27 15:54:46 orsenthil set messages: +
2011-06-27 14:44:29 eric.araujo set messages: +
2011-06-26 04:03:26 orsenthil set status: open -> closednosy: + orsenthilmessages: +
2011-06-26 03:48:43 python-dev set nosy: + python-devmessages: +
2011-06-25 20:10:12 eric.araujo set versions: - Python 3.1
2011-06-25 14:09:05 Kristian.Vlaardingerbroek set files: + issue10020-python27.patchmessages: +
2011-06-25 14:08:41 Kristian.Vlaardingerbroek set files: - issue10020-python27.patch
2011-06-25 12:48:58 Kristian.Vlaardingerbroek set files: + issue10020-python27.patchnosy: + Kristian.Vlaardingerbroekmessages: + keywords: + patch
2010-10-17 15:15:56 eric.araujo set nosy: + eric.araujomessages: +
2010-10-03 22:45:43 doughellmann set status: pending -> openmessages: +
2010-10-03 21:48:31 ghaering set status: open -> pendingresolution: fixedmessages: +
2010-10-03 21:31:21 ghaering set messages: +
2010-10-03 19:20:36 pitrou set assignee: docs@python -> ghaeringnosy: + ghaeringversions: + Python 3.1, Python 3.2
2010-10-03 16:52:40 doughellmann set assignee: docs@pythoncomponents: + Documentationnosy: + docs@python
2010-10-03 16:52:31 doughellmann create