Mercurial > cpython-lru_cache-weakref
diff Python/sysmodule.c @ 68276:4f9d5263c8e9 3.2
Merge build identification to 3.2 branch.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 06 Mar 2011 10:13:00 +0100 |
| parents | 3c9232a684ae f57c94073b35 |
| children | 81d7f78a633a c3541ac278ca |
line wrap: on
line diff
--- a/Python/sysmodule.c Sun Mar 06 01:50:56 2011 +0100 +++ b/Python/sysmodule.c Sun Mar 06 10:13:00 2011 +0100 @@ -1600,6 +1600,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",
