Re: Use Python "Limited API" in PL/Python

2025-03-16 Thread vignesh C
On Fri, 14 Mar 2025 at 14:11, Peter Eisentraut wrote: > > On 05.03.25 17:40, Peter Eisentraut wrote: > > On 03.03.25 11:17, Peter Eisentraut wrote: > >> Update for the hackers list: This patch set was briefly committed but > >> had to be reverted because it crashed on some older Python versions; >

Re: Use Python "Limited API" in PL/Python

2025-03-14 Thread Peter Eisentraut
On 05.03.25 17:40, Peter Eisentraut wrote: On 03.03.25 11:17, Peter Eisentraut wrote: Update for the hackers list: This patch set was briefly committed but had to be reverted because it crashed on some older Python versions; see [0]. I have locally reproduced the problem with Python 3.6 and 3

Re: Use Python "Limited API" in PL/Python

2025-03-05 Thread Peter Eisentraut
On 03.03.25 11:17, Peter Eisentraut wrote: Update for the hackers list: This patch set was briefly committed but had to be reverted because it crashed on some older Python versions; see [0]. I have locally reproduced the problem with Python 3.6 and 3.7; Python 3.8 is ok.  This matches the res

Re: Use Python "Limited API" in PL/Python

2025-03-03 Thread Peter Eisentraut
On 15.01.25 23:20, Peter Eisentraut wrote: On 15.01.25 12:28, Jakob Egger wrote: On 14.01.2025, at 16:51, Jakob Egger wrote: I've tried to create a patch with this change. I'm attaching it to this message so that cfbot picks it up. (I was unable to reproduce the issue locally) Apologies, pl

Re: Use Python "Limited API" in PL/Python

2025-01-15 Thread Peter Eisentraut
On 15.01.25 12:28, Jakob Egger wrote: On 14.01.2025, at 16:51, Jakob Egger wrote: I've tried to create a patch with this change. I'm attaching it to this message so that cfbot picks it up. (I was unable to reproduce the issue locally) Apologies, please disregard my last patch. It does not wo

Re: Use Python "Limited API" in PL/Python

2025-01-15 Thread Jakob Egger
On 14.01.2025, at 16:51, Jakob Egger wrote: > I've tried to create a patch with this change. I'm attaching it to this > message so that cfbot picks it up. (I was unable to reproduce the issue > locally) Apologies, please disregard my last patch. It does not work. It looks like meson just can't

Re: Use Python "Limited API" in PL/Python

2025-01-14 Thread Jakob Egger
On 07.01.2025, at 08:34, Peter Eisentraut wrote:On 02.12.24 09:51, Peter Eisentraut wrote:This patch changes PL/Python to use the Python "limited API". This API has stronger ABI stability guarantees.[0] This means, you can build PL/ Python against any Python 3.x version and use any other Python 3.

Re: Use Python "Limited API" in PL/Python

2025-01-06 Thread Peter Eisentraut
On 02.12.24 09:51, Peter Eisentraut wrote: This patch changes PL/Python to use the Python "limited API". This API has stronger ABI stability guarantees.[0] This means, you can build PL/ Python against any Python 3.x version and use any other Python 3.x version at run time. This is especially

Use Python "Limited API" in PL/Python

2024-12-02 Thread Peter Eisentraut
/* * Since plpy will only let you close subtransactions that you base-commit: 2f696453d2b39fea800d5f7d8e5d3e1a2266de24 -- 2.47.1 From a031a128140f3f4c61e6a5468c1a603f547a986b Mon Sep 17 00:00:00 2001 From: Peter Eisentraut Date: Mon, 2 Dec 2024 08:53:42 +0100 Subje