1/* Python version identification scheme.23When the major or minor version changes, the VERSION variable in4configure.ac must also be changed.56There is also (independent) API version information in modsupport.h.7*/89/* Values for PY_RELEASE_LEVEL */10#define PY_RELEASE_LEVEL_ALPHA 0xA11#define PY_RELEASE_LEVEL_BETA 0xB12#define PY_RELEASE_LEVEL_GAMMA 0xC /* For release candidates */13#define PY_RELEASE_LEVEL_FINAL 0xF /* Serial should be 0 here */14/* Higher for patch releases */1516/* Version parsed out into numeric values */17/*--start constants--*/18#define PY_MAJOR_VERSION 319#define PY_MINOR_VERSION 1320#define PY_MICRO_VERSION 021#define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_ALPHA22#define PY_RELEASE_SERIAL 02324/* Version as a string */25#define PY_VERSION "3.13.0a0"26/*--end constants--*/2728/* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.29Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */30#define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \31(PY_MINOR_VERSION << 16) | \32(PY_MICRO_VERSION << 8) | \33(PY_RELEASE_LEVEL << 4) | \34(PY_RELEASE_SERIAL << 0))353637