diff options
author | Georg Brandl <georg@python.org> | 2011-03-06 09:13:00 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-03-06 09:13:00 (GMT) |
commit | 13039c87f14aeed325bcb5fadd202922a614957b (patch) | |
tree | f78ce4e5acffdb796e9c1803a7b2127100f5fd4f /Python | |
parent | 80d3610bc36e484fbe7b7ccce366a73314505a16 (diff) | |
parent | 8256242b30005b8a1b52e79149558ad36f1307d6 (diff) | |
download | cpython-13039c87f14aeed325bcb5fadd202922a614957b.zip cpython-13039c87f14aeed325bcb5fadd202922a614957b.tar.gz cpython-13039c87f14aeed325bcb5fadd202922a614957b.tar.bz2 |
Merge build identification to 3.2 branch.
Diffstat (limited to 'Python')
-rw-r--r-- | Python/sysmodule.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/Python/sysmodule.c b/Python/sysmodule.c index de51155..ea095d2 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1600,6 +1600,9 @@ _PySys_Init(void) SET_SYS_FROM_STRING("subversion", Py_BuildValue("(sss)", "CPython", branch, svn_revision)); + SET_SYS_FROM_STRING("_mercurial", + Py_BuildValue("(szz)", "CPython", _Py_hgidentifier(), + _Py_hgversion())); SET_SYS_FROM_STRING("dont_write_bytecode", PyBool_FromLong(Py_DontWriteBytecodeFlag)); SET_SYS_FROM_STRING("api_version", |