On Mon, 30 Sep 2019 22:43:40 +0200 Victor Stinner firstname.lastname@example.org wrote:
It seems like "config.struct_size = sizeof(PyConfig);" syntax is "not really liked".
I don't see any traction to provide a stable ABI for embedded Python.
Not at the last minute in a rc1, I'd say :-)
I think if you wanted to make the PyConfig apt at providing ABI-stability, you should have designed it differently. `PyType_FromSpec` provides a useful model (pass an arbitrary-sized static array of field initializers).