Issue 10268: Add --enable-loadable-sqlite-extensions option to configure (original) (raw)

Issue10268

Created on 2010-10-31 17:07 by Arfrever, last changed 2022-04-11 14:57 by admin. This issue is now closed.

Files
File name Uploaded Description Edit
python-loadable-sqlite-extensions.patch Arfrever,2010-10-31 17:07 Patch adding --enable-loadable-sqlite-extensions option
Messages (5)
msg120069 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * (Python triager) Date: 2010-10-31 17:07
I would like to suggest introduction of --enable-loadable-sqlite-extensions option, so that packagers (and maybe other users) don't need to comment out 1 line in setup.py. I'm attaching the patch.
msg120070 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-10-31 17:14
r86045
msg122059 - (view) Author: Ned Deily (ned.deily) * (Python committer) Date: 2010-11-22 01:44
Note, this change affects the documentation for the sqlite3 module which was modified for 3.2 by r85208 in Issue10020 to add a footnote: "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." Also, the configure to Makefile option processing is non-standard. Unexpectedly, --enable-loadable-sqlite-extensions=no is treated the same as --enable-loadable-sqlite-extensions or --enable-loadable-sqlite-extensions=yes, contrary to standard Autoconf behavior.
msg122608 - (view) Author: Benjamin Peterson (benjamin.peterson) * (Python committer) Date: 2010-11-28 02:51
r86844
msg122609 - (view) Author: Arfrever Frehtes Taifersar Arahesis (Arfrever) * (Python triager) Date: 2010-11-28 02:57
About --enable-loadable-sqlite-extensions=no, this behavior also occurs with --with-system-expat=no and --with-system-ffi=no options. Please file a new issue, add me to nosy list and I will attach a patch.
History
Date User Action Args
2022-04-11 14:57:08 admin set github: 54477
2010-11-28 02:57:01 Arfrever set messages: +
2010-11-28 02:51:41 benjamin.peterson set status: open -> closedmessages: +
2010-11-22 01:44:34 ned.deily set status: closed -> opennosy: + ned.deilymessages: + assignee: benjamin.peterson
2010-10-31 17:14:00 benjamin.peterson set status: open -> closednosy: + benjamin.petersonmessages: + resolution: accepted
2010-10-31 17:07:09 Arfrever create