RFC: prototype of C extensions using the Python limited API
Matthieu Longo
matthieu.longo@arm.com
Thu May 28 16:31:55 GMT 2026
On 28/05/2026 17:24, Matthieu Longo via Gdb wrote:
> Hi Tom,
>
> As I previously told you (at least, I believe so but I am not 100% sure), I finished migrating all
> the Python C extensions some time ago. I had discovered some issues with a case of inheritance
> causing unexpected crashes.
> To facilitate the debugging, I decided to implement a prototype outside of GDB, and managed to make
> it work. I finally got the prototype reviewed by Victor Stinner, a Python core developer, to double-
> check whether my design was working as expected.
>
> Please find attached my last iteration. I also provided an archive which should be more convenient
> for you if you want to compile and test it.
>
> Could you please review it so that we validate this new approach before I migrate all my previous
> patches to it ?
>
> PS:
> - a README is provided with all the needed instruction inside.
> - this patch contains code from outside GDB's repository, and should not be merged inside GDB's
> repository.
>
> Regards,
> Matthieu
With the archive, hopefully not inlined.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: prototype.tar.gz
Type: application/x-gzip
Size: 15597 bytes
Desc: not available
URL: <https://sourceware.org/pipermail/gdb/attachments/20260528/84b1b6c9/attachment-0001.bin>
More information about the Gdb
mailing list