diff Python/Python-ast.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 ea083efdc96c
children 85b2d804ac0a
line wrap: on
line diff