Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 68281:ce93b75add15 2.7
Port build identification from default branch.
| author | Georg Brandl <georg@python.org> |
|---|---|
| date | Sun, 06 Mar 2011 10:42:21 +0100 |
| parents | b36cb4602e21 |
| children | ee5350f1d0c2 |
comparison
equal
deleted
inserted
replaced
| 68280:c1098e14ac0c | 68281:ce93b75add15 |
|---|---|
| 1460 PyInt_FromLong(PY_VERSION_HEX)); | 1460 PyInt_FromLong(PY_VERSION_HEX)); |
| 1461 svnversion_init(); | 1461 svnversion_init(); |
| 1462 SET_SYS_FROM_STRING("subversion", | 1462 SET_SYS_FROM_STRING("subversion", |
| 1463 Py_BuildValue("(ssz)", "CPython", branch, | 1463 Py_BuildValue("(ssz)", "CPython", branch, |
| 1464 svn_revision)); | 1464 svn_revision)); |
| 1465 SET_SYS_FROM_STRING("_mercurial", | |
| 1466 Py_BuildValue("(szz)", "CPython", _Py_hgidentifier(), | |
| 1467 _Py_hgversion())); | |
| 1465 SET_SYS_FROM_STRING("dont_write_bytecode", | 1468 SET_SYS_FROM_STRING("dont_write_bytecode", |
| 1466 PyBool_FromLong(Py_DontWriteBytecodeFlag)); | 1469 PyBool_FromLong(Py_DontWriteBytecodeFlag)); |
| 1467 SET_SYS_FROM_STRING("api_version", | 1470 SET_SYS_FROM_STRING("api_version", |
| 1468 PyInt_FromLong(PYTHON_API_VERSION)); | 1471 PyInt_FromLong(PYTHON_API_VERSION)); |
| 1469 SET_SYS_FROM_STRING("copyright", | 1472 SET_SYS_FROM_STRING("copyright", |
