comparison Python/mysnprintf.c @ 36070:9697eeeaf246 legacy-trunk

Expose Subversion revision number (calculated via "svnversion .") to Python. Add C API function Py_GetBuildNumber(), add it to the interactive prompt banner (i.e. Py_GetBuildInfo()), and add it as the sys.build_number attribute. The build number is a string instead of an int because it may contain a trailing 'M' if there are local modifications.
author Barry Warsaw <barry@python.org>
date Sun, 18 Dec 2005 01:27:35 +0000
parents 8af86a952b2c
children 2925b568aacc a8cc8e6f0c1a
comparison
equal deleted inserted replaced
36069:d0214bb1fd51 36070:9697eeeaf246