diff options
author | Barry Warsaw <barry@python.org> | 2005-12-18 01:27:35 (GMT) |
---|---|---|
committer | Barry Warsaw <barry@python.org> | 2005-12-18 01:27:35 (GMT) |
commit | 2a38a86c1c48adbf9cf76d485c515002f042fd56 (patch) | |
tree | 728b60b9fdc895f23a1a18dca41d49ce38a5ce62 /Misc | |
parent | 11ca77e6deb795a697ce00849c2f081e9bdbabb7 (diff) | |
download | cpython-2a38a86c1c48adbf9cf76d485c515002f042fd56.zip cpython-2a38a86c1c48adbf9cf76d485c515002f042fd56.tar.gz cpython-2a38a86c1c48adbf9cf76d485c515002f042fd56.tar.bz2 |
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.
Diffstat (limited to 'Misc')
-rw-r--r-- | Misc/NEWS | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -12,6 +12,10 @@ What's New in Python 2.5 alpha 1? Core and builtins ----------------- +- Patch #1382163: Expose Subversion revision number to Python. New C API + function Py_GetBuildNumber(). New attribute sys.build_number. Build number + is now displayed in interactive prompt banner. + - Implementation of PEP 341 - Unification of try/except and try/finally. "except" clauses can now be written together with a "finally" clause in one try statement instead of two nested ones. Patch #1355913. |