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-128629: Add _Py_PACK_VERSION for CPython's own definitions#134247

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

Merged
encukou merged 1 commit intopython:mainfromencukou:pack-for-definition
May 28, 2025

Conversation

encukou
Copy link
Member

@encukouencukou commentedMay 19, 2025
edited by bedevere-appbot
Loading

Py_PACK_VERSION was added to limited API in 3.14, so if Py_LIMITED_API is lower, the macro can't be used.
Add a private version that can be used in CPython headers for checks likePy_LIMITED_API+0 >= _Py_PACK_VERSION(3, 14).

Py_PACK_VERSION was added to limited API in 3.14, so ifPy_LIMITED_API is lower, the macro can't be used.Add a private version that can be used in CPython headersfor checks like `Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 14)`.
@encukouencukou merged commit0d499c7 intopython:mainMay 28, 2025
42 checks passed
@encukouencukou deleted the pack-for-definition branchMay 28, 2025 13:24
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment
Reviewers

@ericsnowcurrentlyericsnowcurrentlyAwaiting requested review from ericsnowcurrentlyericsnowcurrently is a code owner

Assignees
No one assigned
Labels
Projects
None yet
Milestone
No milestone
Development

Successfully merging this pull request may close these issues.

1 participant
@encukou

[8]ページ先頭

©2009-2025 Movatter.jp