commit | e0d7dae3b8008b5037df6cb212ca6efacf7a012d | [log] [tgz] |
---|---|---|
author | Guido van Rossum <guido@python.org> | Sun Jan 03 12:55:39 1999 +0000 |
committer | Guido van Rossum <guido@python.org> | Sun Jan 03 12:55:39 1999 +0000 |
tree | 656f8e64fab11ca304073972dba276947a50a43b | |
parent | 6e0a3499abd22582dd695a667863741cea1fb749 [diff] |
Add sys.hexversion, which is an integer encoding the version in hexadecimal. In other words, hex(sys.hexversion) == 0x010502b2 for Python 1.5.2b2. This is derived from the new variable PY_VERSION_HEX defined in patchlevel.h. (Cute, eh?)