diff options
author | Ned Deily <nad@python.org> | 2017-03-04 05:19:55 (GMT) |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-04 05:19:55 (GMT) |
commit | 5c4b0d063aba0a68c325073f5f312a2c9f40d178 (patch) | |
tree | 9dd85d1261b732477a4ed38bd5d63de2d3c2e847 /Include | |
parent | fc64c351c7757f0ebdb7da65cb74871e494a2add (diff) | |
download | cpython-5c4b0d063aba0a68c325073f5f312a2c9f40d178.zip cpython-5c4b0d063aba0a68c325073f5f312a2c9f40d178.tar.gz cpython-5c4b0d063aba0a68c325073f5f312a2c9f40d178.tar.bz2 |
bpo-27593: Get SCM build info from git instead of hg. (#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.
Diffstat (limited to 'Include')
-rw-r--r-- | Include/pylifecycle.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Include/pylifecycle.h b/Include/pylifecycle.h index 5a67666..01abfa9 100644 --- a/Include/pylifecycle.h +++ b/Include/pylifecycle.h @@ -70,8 +70,8 @@ PyAPI_FUNC(const char *) Py_GetCopyright(void); PyAPI_FUNC(const char *) Py_GetCompiler(void); PyAPI_FUNC(const char *) Py_GetBuildInfo(void); #ifndef Py_LIMITED_API -PyAPI_FUNC(const char *) _Py_hgidentifier(void); -PyAPI_FUNC(const char *) _Py_hgversion(void); +PyAPI_FUNC(const char *) _Py_gitidentifier(void); +PyAPI_FUNC(const char *) _Py_gitversion(void); #endif /* Internal -- various one-time initializations */ |