◐ Shell
clean mode source ↗

[3.5] bpo-27593: Get SCM build info from git instead of hg. (#446) by ned-deily · Pull Request #455 · python/cpython

…) (python#454)

* bpo-27593: Get SCM build info from git instead of hg. (python#446)

sys.version and the platform module python_build(),
python_branch(), and python_revision() functions now use
git information rather than hg when building from a repo.

Based on original patches by Brett Cannon and Steve Dower.
(cherry picked from commit 5c4b0d0)

(cherry picked from commit 95c50e5)

jaraco pushed a commit that referenced this pull request

Dec 2, 2022