mirror of
https://github.com/python/cpython.git
synced 2025-07-12 13:55:34 +00:00
Merge build identification to default branch.
This commit is contained in:
commit
fe09a54280
8 changed files with 659 additions and 495 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue