◐ Shell
clean mode source ↗

bpo-27593: Get SCM build info from git instead of hg by vstinner · Pull Request #1327 · python/cpython

Based on commit 5c4b0d0 by Ned
Deily, which is based on original patches by Brett Cannon and Steve
Dower.

Remove also the private _Py_svnversion() function and SVNVERSION
variable.

Note: Py_SubversionRevision() and Py_SubversionShortBranch() are
unchanged, they are part of the public API.

vstinner

brettcannon

markbt added a commit to dgrunwald/rust-cpython that referenced this pull request

Feb 12, 2018
Upstream python removed `_Py_svnversion`, `_Py_hgversion` and
`_Py_hgidentifier` in python/cpython#1327,
replacing them with `_Py_gitversion` and `_Py_gitidentifier`.

These are private symbols which shouldn't be exposed here anyway, so
just remove them.

markbt added a commit to dgrunwald/rust-cpython that referenced this pull request

Feb 13, 2018
Upstream python removed `_Py_svnversion`, `_Py_hgversion` and
`_Py_hgidentifier` in python/cpython#1327,
replacing them with `_Py_gitversion` and `_Py_gitidentifier`.

These are private symbols which shouldn't be exposed here anyway, so
just remove them.