18 Dec
2018
18 Dec
'18
5:48 p.m.
There is a roadmap for improving the C-API at https://pythoncapi.readthedocs.io/roadmap.html
From my reading of the information there, it seems there are a number of goals to the refactoring:
- allow compile-once c-extensions that would be binary compatible with more than one version/flavors of python
- hide python internals
- which would make writing c-extensions less bug-prone (refcounting semantics, breaking refernence cycles)
- which could unleash possible performance gains
Are these also goals?:
- allow introspection for JIT or AOT compilation of extension code as part of a larger unit, like Numba, Dask, or PyPy do
- enhance tooling like SIP, cython, pybind11,
What do you think? Is this an accurate summary of the goals? Matti