Closed nathanchance closed 1 year ago
There is no reason to roll our own versioning format when we can automatically generate tuples for the versions to allow more natural and obvious comparisons, similar to sys.version_info. For example:
sys.version_info
if qemu_ver_code < 602050:
vs.
if qemu_ver < (6, 2, 50):
There is no reason to roll our own versioning format when we can automatically generate tuples for the versions to allow more natural and obvious comparisons, similar to
sys.version_info
. For example:vs.