[Python-Dev] Re: Heap types (PyType_FromSpec) must fully implement the GC protocol

2021-01-12 Thread encukou
Yes, the goal is to have it support all the features of static types. If you see something that's not in PEP 630 open issues (https://www.python.org/dev/peps/pep-0630/#open-issues), I'd like to know. I'm using https://github.com/encukou/abi3/issues to collect issues related to the stabl

[Python-Dev] Re: Static inline functions in header files, limited API and the stable ABI

2020-01-30 Thread encukou
Victor Stinner wrote: > Hi, > Is it ok to add a static inline function to the limited API? Can it > cause ABI issue? Or is it safer to add a regular function? For > example, is it safe to add the following function to the limited API? > static inline PyObject > _PyObject_CallOneArg(PyObject func,