{{ message }}
[3.14] gh-108907: ctypes: Document _type_ codes (GH-145837)#146328
Merged
encukou merged 1 commit intoMar 23, 2026
Merged
Conversation
Add `_SimpleCData._type_` docs. Add type codes to the summary table. Cross-link `struct`, `array`, and `ctypes`; throw in `numpy` too. (Anyone wanting to add a code should be aware of those.) Add `py_object`, and `VARIANT_BOOL` for completeness. (cherry picked from commit 1114d7f) Co-authored-by: Petr Viktorin <encukou@gmail.com>
This was referenced Mar 23, 2026
Hide details
View details
encukou
merged commit
f883bbd
into
python:3.14
Mar 23, 2026
36 checks passed
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.
Add
_SimpleCData._type_docs.Add type codes to the summary table.
Cross-link
struct,array, andctypes; throw innumpytoo.(Anyone wanting to add a code should be aware of those.)
Add
py_object, andVARIANT_BOOLfor completeness.(cherry picked from commit 1114d7f)
Co-authored-by: Petr Viktorin encukou@gmail.com
📚 Documentation preview 📚: https://cpython-previews--146328.org.readthedocs.build/