annotate CSP2/CSP2_env/env-d9b9114564458d9d-741b3de822f2aaca6c6caa4325c4afce/include/python3.8/patchlevel.h @ 69:33d812a61356

planemo upload commit 2e9511a184a1ca667c7be0c6321a36dc4e3d116d
author jpayne
date Tue, 18 Mar 2025 17:55:14 -0400
parents
children
rev   line source
jpayne@69 1
jpayne@69 2 /* Python version identification scheme.
jpayne@69 3
jpayne@69 4 When the major or minor version changes, the VERSION variable in
jpayne@69 5 configure.ac must also be changed.
jpayne@69 6
jpayne@69 7 There is also (independent) API version information in modsupport.h.
jpayne@69 8 */
jpayne@69 9
jpayne@69 10 /* Values for PY_RELEASE_LEVEL */
jpayne@69 11 #define PY_RELEASE_LEVEL_ALPHA 0xA
jpayne@69 12 #define PY_RELEASE_LEVEL_BETA 0xB
jpayne@69 13 #define PY_RELEASE_LEVEL_GAMMA 0xC /* For release candidates */
jpayne@69 14 #define PY_RELEASE_LEVEL_FINAL 0xF /* Serial should be 0 here */
jpayne@69 15 /* Higher for patch releases */
jpayne@69 16
jpayne@69 17 /* Version parsed out into numeric values */
jpayne@69 18 /*--start constants--*/
jpayne@69 19 #define PY_MAJOR_VERSION 3
jpayne@69 20 #define PY_MINOR_VERSION 8
jpayne@69 21 #define PY_MICRO_VERSION 1
jpayne@69 22 #define PY_RELEASE_LEVEL PY_RELEASE_LEVEL_FINAL
jpayne@69 23 #define PY_RELEASE_SERIAL 0
jpayne@69 24
jpayne@69 25 /* Version as a string */
jpayne@69 26 #define PY_VERSION "3.8.1"
jpayne@69 27 /*--end constants--*/
jpayne@69 28
jpayne@69 29 /* Version as a single 4-byte hex number, e.g. 0x010502B2 == 1.5.2b2.
jpayne@69 30 Use this for numeric comparisons, e.g. #if PY_VERSION_HEX >= ... */
jpayne@69 31 #define PY_VERSION_HEX ((PY_MAJOR_VERSION << 24) | \
jpayne@69 32 (PY_MINOR_VERSION << 16) | \
jpayne@69 33 (PY_MICRO_VERSION << 8) | \
jpayne@69 34 (PY_RELEASE_LEVEL << 4) | \
jpayne@69 35 (PY_RELEASE_SERIAL << 0))