FS#43372 - [python2] [python] Enable loadable sqlite extensions
Attached to Project:
Arch Linux
Opened by Max Liebkies (gegenschall) - Wednesday, 07 January 2015, 18:43 GMT
Last edited by Felix Yan (felixonmars) - Monday, 12 January 2015, 04:23 GMT
Opened by Max Liebkies (gegenschall) - Wednesday, 07 January 2015, 18:43 GMT
Last edited by Felix Yan (felixonmars) - Monday, 12 January 2015, 04:23 GMT
|
Details
Python's sqlite3 module has the ability to load C extensions
(e.g. libspatialite) for sqlite but it needs to be enabled
during compile time using the
–enable-loadable-sqlite-extensions switch to the configure
script.
The Python docs state that, "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." [0] As Arch Linux ships with a sqlite that has extension loading built-in, also enabling this in Python 2 and 3 would be nice and AFAIK would not have any sideeffects. Cheers! --- [0] https://docs.python.org/3.4/library/sqlite3.html#f1 |
This task depends upon
Closed by Felix Yan (felixonmars)
Monday, 12 January 2015, 04:23 GMT
Reason for closing: Implemented
Additional comments about closing: 3.4.2-2
Monday, 12 January 2015, 04:23 GMT
Reason for closing: Implemented
Additional comments about closing: 3.4.2-2
So, this only concerns Python3 where it is not enabled.