Skip to content

Conversation

encukou
Copy link
Member

@encukou encukou commented Jul 23, 2025

Move docs to the reference section & reduce the “tutorial” part to a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage align values that aren't powers of two.


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

Move docs to the reference section & reduce the “tutorial” part to
a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage _align_ values that aren't powers of two.
@bedevere-app bedevere-app bot added awaiting core review docs Documentation in the Doc dir skip news labels Jul 23, 2025
@github-project-automation github-project-automation bot moved this to Todo in Docs PRs Jul 23, 2025
@encukou encukou added the needs backport to 3.14 bugs and security fixes label Aug 4, 2025
@encukou encukou merged commit 8943bb7 into python:main Aug 4, 2025
34 checks passed
@miss-islington-app
Copy link

Thanks @encukou for the PR 🌮🎉.. I'm working now to backport this PR to: 3.14.
🐍🍒⛏🤖

@github-project-automation github-project-automation bot moved this from Todo to Done in Docs PRs Aug 4, 2025
@encukou encukou deleted the ctypes-pack-align-doc branch August 4, 2025 13:40
miss-islington pushed a commit to miss-islington/cpython that referenced this pull request Aug 4, 2025
Move docs to the reference section & reduce the “tutorial” part to a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage _align_ values that aren't powers of two.
(cherry picked from commit 8943bb7)

Co-authored-by: Petr Viktorin <[email protected]>
@bedevere-app
Copy link

bedevere-app bot commented Aug 4, 2025

GH-137381 is a backport of this pull request to the 3.14 branch.

@bedevere-app bedevere-app bot removed the needs backport to 3.14 bugs and security fixes label Aug 4, 2025
Agent-Hellboy pushed a commit to Agent-Hellboy/cpython that referenced this pull request Aug 19, 2025
Move docs to the reference section & reduce the “tutorial” part to a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage _align_ values that aren't powers of two.
vstinner pushed a commit that referenced this pull request Oct 7, 2025
)

gh-136520: Clarify docs for _pack_ & _align_ (GH-137036)

Move docs to the reference section & reduce the “tutorial” part to a quick intro & link.

Clarify what values are accepted.

Add macro/attribute equivalents.

Discourage _align_ values that aren't powers of two.
(cherry picked from commit 8943bb7)

Co-authored-by: Petr Viktorin <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

docs Documentation in the Doc dir skip news

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

1 participant