[Python-Dev] Re: New pythoncapi_compat project adding Python 3.10 support to your C extensions without losing Python 2.7-3.9 support

2021-06-08 Thread Petr Viktorin
On 03. 06. 21 1:43, Victor Stinner wrote: Hi, What do you think of promoting the pythoncapi_compat project that I'm introducing below in the "C API: Porting to Python 3.10" section of What's New In Python 3.10? Should this project be moved under the GitHub psf organization to have a more

[Python-Dev] Re: New pythoncapi_compat project adding Python 3.10 support to your C extensions without losing Python 2.7-3.9 support

2021-06-03 Thread Simon Cross
On Thu, Jun 3, 2021 at 4:16 AM Victor Stinner wrote: > I would say that HPy is not complete nor mature yet. IMO it's already > worth it to start playing with it, try to convert your small C > extensions, and send back your early feedback to HPy developers! This is my view of the state of HPy

[Python-Dev] Re: New pythoncapi_compat project adding Python 3.10 support to your C extensions without losing Python 2.7-3.9 support

2021-06-02 Thread Joannah Nanjekye
I like the idea but I don't understand the full impact yet. That's my job to assess. For my research, I was also trying to have a similar compatibility hack for the changes I have had to do to allow GC integration. > This project only targets extension modules written in C by using > directly

[Python-Dev] Re: New pythoncapi_compat project adding Python 3.10 support to your C extensions without losing Python 2.7-3.9 support

2021-06-02 Thread Victor Stinner
On Thu, Jun 3, 2021 at 2:30 AM Joannah Nanjekye wrote: > Is HPy ready yet given IIRC, there is no even first release yet? I stand to > be corrected. > I reckon it will still go through a period of incompatible changes for some > time/months too. HPy is a great project, but even if 90% of top