aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/Python/pylifecycle.c
diff options
context:
space:
mode:
authorPetr Viktorin <encukou@gmail.com>2025-05-28 15:24:40 +0200
committerGitHub <noreply@github.com>2025-05-28 15:24:40 +0200
commit0d499c7e938d58916648a0032f73aa38034b6a93 (patch)
treedc7cc14b7056765d5657475bd1b2ba916c462a9d /Python/pylifecycle.c
parent469a56470b1d8df03862d8ceb73aebca14772dcf (diff)
downloadcpython-0d499c7e938d58916648a0032f73aa38034b6a93.tar.gz
cpython-0d499c7e938d58916648a0032f73aa38034b6a93.zip
gh-128629: Add _Py_PACK_VERSION for CPython's own definitions (GH-134247)
Add _Py_PACK_VERSION for CPython's own definitions 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 like `Py_LIMITED_API+0 >= _Py_PACK_VERSION(3, 14)`.
Diffstat (limited to 'Python/pylifecycle.c')
0 files changed, 0 insertions, 0 deletions