On Fri, 31 Aug 2018 at 01:33 Victor Stinner <vstinner@redhat.com> wrote:
Hi,
To be able to work on a fork of CPython, I decided to create a new GitHub organization:
https://github.com/pythoncapi/
I didn't want to work on my personal fork of CPython (vstinner/cpython). The organization has a single member: me, but I invited Eric Snow, Barry Warsaw and Pablo Galindo. Tell me if you want to join!
Sure, why not!
I moved my documentation there, the source of https://pythoncapi.readthedocs.io/ website:
https://github.com/pythoncapi/pythoncapi/
And I just forked CPython:
https://github.com/pythoncapi/cpython
I will experiment to implement the new C API in this fork, to not bother the upstream CPython.
I started with a very simple change, replace PyTuple_GET_ITEM() macro with a function call. I also started to write unit tests:
https://github.com/pythoncapi/cpython/blob/pythoncapi/capi/tests/test_tuple....
I quickly experimented to write my own C unit test framework, but I'm not really satisfied of the "verbose" API. I'm looking at googletest and Check, does someone have an experience with a C unit test framework?
I have used Catch, but that's C++.
-Brett
I don't wanted to write unit tests with Cython, cffi or anything else, because I really need very thin control on everything.
Victor
capi-sig mailing list -- capi-sig@python.org To unsubscribe send an email to capi-sig-leave@python.org