commit | 2a38a86c1c48adbf9cf76d485c515002f042fd56 | [log] [tgz] |
---|---|---|
author | Barry Warsaw <barry@python.org> | Sun Dec 18 01:27:35 2005 +0000 |
committer | Barry Warsaw <barry@python.org> | Sun Dec 18 01:27:35 2005 +0000 |
tree | 728b60b9fdc895f23a1a18dca41d49ce38a5ce62 | |
parent | 11ca77e6deb795a697ce00849c2f081e9bdbabb7 [diff] |
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.