msg117919 - (view) |
Author: Doug Hellmann (doughellmann) *  |
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) *  |
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) *  |
Date: 2010-10-03 21:48 |
Fixed in r85208 by adding a note to the docs. |
|
|
msg117934 - (view) |
Author: Doug Hellmann (doughellmann) *  |
Date: 2010-10-03 22:45 |
Thanks, Gerhard! |
|
|
msg118945 - (view) |
Author: Éric Araujo (eric.araujo) *  |
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)  |
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) *  |
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) *  |
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) *  |
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) *  |
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) *  |
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. |
|
|