I plan to add more wrappers for Posix structures. Many of them use types not supported in PyMemberDef, like uint32_t or pid_t. So the first step is to add support of many standard C and Posix integer types.
gh-114388 and gh-115011 were preparations to this step.
The open question: should we assign new codes for new types or define them as aliases to existing types if they are already exist (for example, Py_T_PID can be an alias of Py_T_INT, Py_T_LONG or Py_T_LONGLONG, depending on platform).
Linked PRs
I plan to add more wrappers for Posix structures. Many of them use types not supported in
PyMemberDef, likeuint32_torpid_t. So the first step is to add support of many standard C and Posix integer types.gh-114388 and gh-115011 were preparations to this step.
The open question: should we assign new codes for new types or define them as aliases to existing types if they are already exist (for example,
Py_T_PIDcan be an alias ofPy_T_INT,Py_T_LONGorPy_T_LONGLONG, depending on platform).Linked PRs