Re: No loadable SQlite extensions in Python 2.7

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 04/21/2012 09:27 AM, Volker Froehlich wrote:
On Fri, 2012-04-20 at 17:14 -0700, Toshio Kuratomi wrote:
On Sat, Apr 21, 2012 at 12:46:38AM +0200, Volker Froehlich wrote:
Hello!

I noticed, our Python 2.7 package does not allow to load SQLite
extensions from shared libraries. This must be configured at
build-time.

Is there a strong reason for this configuration, or could we possibly
change that, if necessary?

Not sure what you're asking for here.

$ python

import sqlite3



$ rpm -ql python-libs |grep sqlite3.so
/usr/lib64/python2.7/lib-dynload/_sqlite3.so

The sqlite module seems to be built into our python just fine....

-Toshio

Yes, that's all fine, but:

"Connection.enable_load_extension(enabled)

         This routine allows/disallows the SQLite engine to load SQLite
         extensions from shared libraries. SQLite extensions can define
         new functions, aggregates or whole new virtual table
         implementations. One well-known extension is the fulltext-search
         extension distributed with SQLite.

         Loadable extensions are disabled by default. See [1].

         New in version 2.7.
"

http://docs.python.org/library/sqlite3.html#f1

sqlite in Fedora has been built with --enable-load-extension since 2008, so from that POV there's no problem.

File a bug on python to request enabling it?

	- Panu -
--
devel mailing list
devel@xxxxxxxxxxxxxxxxxxxxxxx
https://admin.fedoraproject.org/mailman/listinfo/devel



[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux