homepage

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: Add --enable-loadable-sqlite-extensions option to `configure`
Type: enhancement Stage:
Components: Build Versions: Python 3.2
process
Status: closed Resolution: accepted
Dependencies: Superseder:
Assigned To: benjamin.peterson Nosy List: Arfrever, benjamin.peterson, ghaering, ned.deily
Priority: normal Keywords: patch

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:08adminsetgithub: 54477
2010年11月28日 02:57:01Arfreversetmessages: + msg122609
2010年11月28日 02:51:41benjamin.petersonsetstatus: open -> closed

messages: + msg122608
2010年11月22日 01:44:34ned.deilysetstatus: closed -> open

nosy: + ned.deily
messages: + msg122059

assignee: benjamin.peterson
2010年10月31日 17:14:00benjamin.petersonsetstatus: open -> closed

nosy: + benjamin.peterson
messages: + msg120070

resolution: accepted
2010年10月31日 17:07:09Arfrevercreate

AltStyle によって変換されたページ (->オリジナル) /