As someone who has been putting the Python C-API through its paces of late, I am curious about PyVarObject
, which the documentation says is a subtype of PyObject
used specifically for the definition of variable-length types – and though the caveat that:
This type does not often appear in the Python/C API
… there are an abundance of documented support structures, slot hooks, and other API minutiae that are dedicated to PyVarObject
, to the point where I am genuinely curious if there are any Python-API-related problems (however specifically niche) for which it can notably ease the solution.