Arch Linux

Please read this before reporting a bug:
https://wiki.archlinux.org/title/Bug_reporting_guidelines

Do NOT report bugs when a package is just outdated, or it is in the AUR. Use the 'flag out of date' link on the package page, or the Mailing List.

REPEAT: Do NOT report bugs for outdated packages!
Tasklist

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
Task Type Feature Request
Category Packages: Extra
Status Closed
Assigned To Angel Velasquez (angvp)
Felix Yan (felixonmars)
Architecture All
Severity Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

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
Comment by Doug Newgard (Scimmia) - Thursday, 08 January 2015, 05:08 GMT
  • Field changed: Summary (Enable loadable sqlite extensions in Python 2 and 3 → [python2] [python] Enable loadable sqlite extensions)
  • Field changed: Status (Unconfirmed → Assigned)
  • Task assigned to Angel Velasquez (angvp), Felix Yan (felixonmars)
It seems this was enabled previously: https://bugs.archlinux.org/task/22122
Comment by Max Liebkies (gegenschall) - Friday, 09 January 2015, 16:36 GMT
Oh, that's actually true. Arch's Python2 has this enabled since 2.7.1-3.

So, this only concerns Python3 where it is not enabled.

Loading...