Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 68277:c3541ac278ca
Merge build identification to default branch.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 06 Mar 2011 10:26:32 +0100 |
| parents | b39270c6b8d1 4f9d5263c8e9 |
| children | 0e7e3b1621da |
line wrap: on
line diff
--- a/Python/sysmodule.c Sun Mar 06 01:53:19 2011 +0100 +++ b/Python/sysmodule.c Sun Mar 06 10:26:32 2011 +0100 @@ -1599,6 +1599,9 @@ 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",
