Python: enable loadable SQLite extension support

Marco Atzeri marco.atzeri@gmail.com
Thu Mar 9 22:49:47 GMT 2023


On 28.10.2022 17:45, Martin Carpenter wrote:
> Hi,
> 
> Can I please request that the Python 3 package be compiled with "
> --enable-loadable-sqlite-extensions"?
> 
> I'm trying to use a Python 3 app (datasette) to load an SQLite
> extension but it fails with:
> 
> AttributeError: 'sqlite3.Connection' object has no attribute
> 'enable_load_extension'
> 
> The Python docs say that --enable-loadable-sqlite-extensions should be
> passed at build to enable this (new for 3.6) . See:
> 
>   *
> https://docs.python.org/3/library/sqlite3.html#sqlite3.Connection.enable_load_extension
>   *
> https://docs.python.org/3/using/configure.html#cmdoption-enable-loadable-sqlite-extensions
> 

Hi Martin,
sorry I missed your request.

next packages for 3.8, 3.9 (currently under build) and future 3.11 will
include this feature

Regards
Marco



More information about the Cygwin mailing list