X-Recipient: archive-cygwin AT delorie DOT com DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 971223858416 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=cygwin.com; s=default; t=1678402208; bh=q1+0ROg4PPyPGj8qARuMx4q872RPRXP2pF7iMhcLW1o=; h=Date:Subject:To:References:In-Reply-To:List-Id:List-Unsubscribe: List-Archive:List-Post:List-Help:List-Subscribe:From:Reply-To: From; b=yt/8epX/1M6gbvhoZJNHY+ZT2/j+1B1jQAWPMHrQENHxtnm2Hva8CQ+j5EEW6fL/t M5rTFbxx93yQ/8mXK+m0LDULXFMmCuV02wVbQ5Sm8nLt+KEk++hvPWGz5begqV8S0r TcpSrhD+PlNC6FWzraBhCGwzi8FEfnbewweoL1Ts= X-Original-To: cygwin AT cygwin DOT com Delivered-To: cygwin AT cygwin DOT com DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org E19DA3858C5E X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; t=1678402189; h=content-transfer-encoding:in-reply-to:from:content-language :references:to:subject:user-agent:mime-version:date:message-id :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=39V4utc23Pa7OFzGPggzx742EJAoWb+MXS4PIHLqWZY=; b=WcJkPwOS2LP3b1fjrGrRKFXSGBOBaIR0AAyvLaw2vSKS6YBRewdZuKQct+uWlude9F /hm5kMztcKzDsYcShlCJekpNCWCFHzrw6xa06vRb532l8u6vPUzogk7nQ4R8eSh7BkF5 59+aumXF1gTmPZG8TZNYJioz3a2hAgnf5PieAciL5taJgP/RalFpZuL7dH4cAsZuj7tv ECC3CFxFooo72O7evF0ffxWpEVQlDnm1AqovziEGZyT1xUFJCGcaFllFGmCRDA8Mz8Zt 78UoqbpVQM+MkYdKwtuzA7tnx/u2n+4tFlalA6X9H59gBGvM9JD4OcoQR436wo2uK7pm E/tw== X-Gm-Message-State: AO0yUKUyRrDtB44HR5/PYR6B1BB9laZEmQNFUJ8B+AISa+fpadePzy+L 1wGhx5ANsTGQrpganmg2CLs= X-Google-Smtp-Source: AK7set+MfcRwv0oBlGfrsQfg6hQ4jp/H9rL5F+vg7P7tzja5FIwGLa+maqycXhGnYMd9+iFmYlAUAw== X-Received: by 2002:a17:906:d42:b0:900:a150:cea5 with SMTP id r2-20020a1709060d4200b00900a150cea5mr21009206ejh.54.1678402189553; Thu, 09 Mar 2023 14:49:49 -0800 (PST) Message-ID: <0eaf5f16-db07-a0ef-7884-6179350ee38d@gmail.com> Date: Thu, 9 Mar 2023 23:49:47 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (Windows NT 10.0; Win64; x64; rv:102.0) Gecko/20100101 Thunderbird/102.8.0 Subject: Re: Python: enable loadable SQLite extension support To: Martin Carpenter , cygwin AT cygwin DOT com References: Content-Language: it In-Reply-To: X-Spam-Status: No, score=-1.3 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_FROM, NICE_REPLY_A, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: cygwin AT cygwin DOT com X-Mailman-Version: 2.1.29 Precedence: list List-Id: General Cygwin discussions and problem reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , From: Marco Atzeri via Cygwin Reply-To: Marco Atzeri Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Errors-To: cygwin-bounces+archive-cygwin=delorie DOT com AT cygwin DOT com Sender: "Cygwin" 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 -- Problem reports: https://cygwin.com/problems.html FAQ: https://cygwin.com/faq/ Documentation: https://cygwin.com/docs.html Unsubscribe info: https://cygwin.com/ml/#unsubscribe-simple