[Python-checkins] CVS: python/dist/src/Python sysmodule.c

Guido van Rossum guido@cnri.reston.va.us
Sun, 3 Jan 1999 07:55:41 -0500 (EST)


Update of /projects/cvsroot/python/dist/src/Python
In directory eric:/projects/python/develop/guido/src/Python

Modified Files:
	sysmodule.c 
Log Message:
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?)