Mercurial > cpython-lru_cache-weakref
comparison Python/sysmodule.c @ 62155:600c23127207
Issue #8848: U / U# formats of Py_BuildValue() are just alias to s / s#
| author | Victor Stinner <victor.stinner@haypocalc.com> |
|---|---|
| date | Mon, 07 Jun 2010 19:57:46 +0000 |
| parents | 0bc8ffe6ba9a |
| children | d281ed59ff0b |
comparison
equal
deleted
inserted
replaced
| 62154:0d9347934cc5 | 62155:600c23127207 |
|---|---|
| 1508 PyUnicode_FromString(Py_GetVersion())); | 1508 PyUnicode_FromString(Py_GetVersion())); |
| 1509 SET_SYS_FROM_STRING("hexversion", | 1509 SET_SYS_FROM_STRING("hexversion", |
| 1510 PyLong_FromLong(PY_VERSION_HEX)); | 1510 PyLong_FromLong(PY_VERSION_HEX)); |
| 1511 svnversion_init(); | 1511 svnversion_init(); |
| 1512 SET_SYS_FROM_STRING("subversion", | 1512 SET_SYS_FROM_STRING("subversion", |
| 1513 Py_BuildValue("(UUU)", "CPython", branch, | 1513 Py_BuildValue("(sss)", "CPython", branch, |
| 1514 svn_revision)); | 1514 svn_revision)); |
| 1515 SET_SYS_FROM_STRING("dont_write_bytecode", | 1515 SET_SYS_FROM_STRING("dont_write_bytecode", |
| 1516 PyBool_FromLong(Py_DontWriteBytecodeFlag)); | 1516 PyBool_FromLong(Py_DontWriteBytecodeFlag)); |
| 1517 SET_SYS_FROM_STRING("api_version", | 1517 SET_SYS_FROM_STRING("api_version", |
| 1518 PyLong_FromLong(PYTHON_API_VERSION)); | 1518 PyLong_FromLong(PYTHON_API_VERSION)); |
