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)`.
P
Petr Viktorin committed
0d499c7e938d58916648a0032f73aa38034b6a93
Parent: 469a564
Committed by GitHub <noreply@github.com>
on 5/28/2025, 1:24:40 PM