Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

gh-136769: Update Fundamental data types table in ctypes.rst#136784

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Conversation

SZeltaat
Copy link
Contributor

@SZeltaatSZeltaat commentedJul 19, 2025
edited by github-actionsbot
Loading

Fixed-sized types, likec_int32 is currently missing fromFundamental data types in the documentation for c types.
This PR adds those types to the table.

Also:

c_int8 andc_unit8 are aliases of c_byte and c_ubyte. The documentation says "Usually as alias for c_byte/c_ubyte", but that can be more explicit. This PR includes this change as well.


📚 Documentation preview 📚:https://cpython-previews--136784.org.readthedocs.build/

@python-cla-bot
Copy link

python-cla-botbot commentedJul 19, 2025
edited
Loading

All commit authors signed the Contributor License Agreement.

CLA signed

@SZeltaat
Copy link
ContributorAuthor

@AA-Turner, Could you please have a look? #EuroPython2025

@AA-TurnerAA-Turner added needs backport to 3.13bugs and security fixes needs backport to 3.14bugs and security fixes labelsJul 19, 2025
@AA-TurnerAA-Turner merged commitacefb97 intopython:mainJul 19, 2025
41 checks passed
@github-project-automationgithub-project-automationbot moved this fromTodo toDone inDocs PRsJul 19, 2025
@miss-islington-app
Copy link

Thanks@SZeltaat for the PR, and@AA-Turner for merging it 🌮🎉.. I'm working now to backport this PR to: 3.13, 3.14.
🐍🍒⛏🤖 I'm not a witch! I'm not a witch!

miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 19, 2025
… types table (pythonGH-136784)Fixed-sized types, like ``c_int32``, are currently missing from the fundamental data types tablein the ``ctypes`` documentation. This commit adds them, and  notes that ``c_[u]int8`` is an aliasof ``c_[u]byte``.(cherry picked from commitacefb97)Co-authored-by: Sina Zel taat <111974143+SZeltaat@users.noreply.github.com>
miss-islington pushed a commit to miss-islington/cpython that referenced this pull requestJul 19, 2025
… types table (pythonGH-136784)Fixed-sized types, like ``c_int32``, are currently missing from the fundamental data types tablein the ``ctypes`` documentation. This commit adds them, and  notes that ``c_[u]int8`` is an aliasof ``c_[u]byte``.(cherry picked from commitacefb97)Co-authored-by: Sina Zel taat <111974143+SZeltaat@users.noreply.github.com>
@bedevere-app
Copy link

GH-136785 is a backport of this pull request to the3.14 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.14bugs and security fixes labelJul 19, 2025
@bedevere-app
Copy link

GH-136786 is a backport of this pull request to the3.13 branch.

@bedevere-appbedevere-appbot removed the needs backport to 3.13bugs and security fixes labelJul 19, 2025
Copy link
Contributor

@skirpichevskirpichev left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others.Learn more.

LGTM

Minor nit: using:c:expr: vs:c:type. I think we should choose something one

PS: a direct link:https://cpython-previews--136784.org.readthedocs.build/en/136784/library/ctypes.html#fundamental-data-types

AA-Turner pushed a commit that referenced this pull requestJul 19, 2025
…a types table (GH-136784) (#136786)gh-136769: Include fixed-width integers in the fundamental data types table (GH-136784)Fixed-sized types, like ``c_int32``, are currently missing from the fundamental data types tablein the ``ctypes`` documentation. This commit adds them, and  notes that ``c_[u]int8`` is an aliasof ``c_[u]byte``.(cherry picked from commitacefb97)Co-authored-by: Sina Zel taat <111974143+SZeltaat@users.noreply.github.com>
AA-Turner pushed a commit that referenced this pull requestJul 19, 2025
…a types table (GH-136784) (#136785)gh-136769: Include fixed-width integers in the fundamental data types table (GH-136784)Fixed-sized types, like ``c_int32``, are currently missing from the fundamental data types tablein the ``ctypes`` documentation. This commit adds them, and  notes that ``c_[u]int8`` is an aliasof ``c_[u]byte``.(cherry picked from commitacefb97)Co-authored-by: Sina Zel taat <111974143+SZeltaat@users.noreply.github.com>
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@skirpichevskirpichevskirpichev approved these changes

@AA-TurnerAA-TurnerAA-Turner approved these changes

Assignees
No one assigned
Labels
docsDocumentation in the Doc dirskip newssprint
Projects
Status: Done
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

3 participants
@SZeltaat@skirpichev@AA-Turner

[8]ページ先頭

©2009-2025 Movatter.jp