Expand description
Version info constants.
Most of the constants are auto calculated at compile time. The main exception is the
target CPython version. This is defined and updated in build.rs.
Constantsยง
- GIT_
IDENTIFIER - GIT_
REVISION - MAJOR
- MAJOR_
IMPL - MICRO
- MICRO_
IMPL - MINOR
- MINOR_
IMPL - PYC_
MAGIC_ NUMBER - PYC_
MAGIC_ NUMBER_ BYTES - Magic number as little-endian bytes for .pyc files
- PYC_
MAGIC_ NUMBER_ TOKEN - RELEASELEVEL
- RELEASELEVEL_
IMPL - RELEASELEVEL_
N - RELEASELEVEL_
N_ IMPL - RUSTPYTHON_
BUILD_ INFO - RUSTPYTHON_
VERSION - SERIAL
- SERIAL_
IMPL - VERSION_
HEX - VERSION_
HEX_ IMPL