github.com/python/pythoncapi-compat
The pythoncapi-compat project can be used to write a C extension supporting a wide range of Python versions with a single code base.
https://github.com/python/pythoncapi-compat
guix: pythoncapi-compat 0.0.0-1.ab72af8
Python C API compatibility1 version - Latest release: 6 months ago