New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Adding T_SIZET to structmember.h #49498
Comments
structmember.h lacks a 'T_SIZET' define in order to properly support If this feature request is accepted, I can provide the patches. For 2.7, It would be nice to do: #define T_SIZET 20 /* size_t */ However, this value is already used in 3.0 for 'T_NONE'. Perhaps T_NONE To avoid future merge conflicts, I would vote for this definition: #define T_SIZET 21 /* size_t */ |
Do we really want size_t or rather Py_ssize_t? |
In 2.6 and 3.0, we already have 'Py_ssize_t', see 'T_PYSSIZET' |
Oops, sorry for the noise then. |
Well, that's not how things work: there isn't really a mechanism for For what it's worth, I think that there's a good chance that a well- I'd also be happy to review such a patch if/when it's ready. |
msg81942 states "structmember.h lacks a 'T_SIZET' define in order to properly support struct fields of type 'size_t' within PyMemberDef." As we have managed without this feature for the last five years do we really need it now? What do we gain by implementing this? |
This has been idle for well over a decade. Closing due to lack of interest. It can be reopened (or a new issue created) if anyone needs it. |
Note: these values reflect the state of the issue at the time it was migrated and might not reflect the current state.
Show more details
GitHub fields:
bugs.python.org fields:
The text was updated successfully, but these errors were encountered: