Open
Description
(This issue was originally “The C Language”, but discussion focused on one sub-issue, so it was re-purposed. See #35 for C.)
Information about the C API is only available in the headers. Those can generally only be parsed with a C compiler, which presents a problem for bindings to other languages (and even ctypes
users), who generally resort to either
- copying the info by hand, or
- using a C binding generator (those can only parse a subset of C, and usually it's some undefined subset. It's not feasible to limit CPython to all the relevant subsets.)