diff options
author | Georg Brandl <georg@python.org> | 2011-03-06 09:26:32 (GMT) |
---|---|---|
committer | Georg Brandl <georg@python.org> | 2011-03-06 09:26:32 (GMT) |
commit | fe09a54280a56a01402f4cb98c8c6cb4be89654a (patch) | |
tree | 7bea7a6d99ae4509b5f77fca934ec32f8a93c8ab /Python/sysmodule.c | |
parent | f874debbf37636b0f2f46f8db06be50c20b670a8 (diff) | |
parent | 13039c87f14aeed325bcb5fadd202922a614957b (diff) | |
download | cpython-fe09a54280a56a01402f4cb98c8c6cb4be89654a.zip cpython-fe09a54280a56a01402f4cb98c8c6cb4be89654a.tar.gz cpython-fe09a54280a56a01402f4cb98c8c6cb4be89654a.tar.bz2 |
Merge build identification to default branch.
Diffstat (limited to 'Python/sysmodule.c')
-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 89fe4f1..9c94ece 100644 --- a/Python/sysmodule.c +++ b/Python/sysmodule.c @@ -1599,6 +1599,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", |