[issue27593] Deprecate sys._mercurial and create sys._git
Steve Dower
report at bugs.python.org
Sat Mar 4 01:21:53 EST 2017
Steve Dower added the comment:
Here's some sample output with the change:
C:\build\cpython36>PCbuild\win32\python_d.exe
Python 3.6.0+ (3.6:95c50e5aed9e5683676e18349dd94b11901a66b3, Mar 4 2017, 06:08:54) [MSC v.1900 32 bit (Intel)] on win32
Type "help", "copyright", "credits" or "license" for more information.
>>> import sys
>>> sys._git
('CPython', '3.6', '95c50e5aed9e5683676e18349dd94b11901a66b3')
I wonder whether we should shorten the revision hash for the copyright string? I think sys._git[2] should keep the whole output.
----------
_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27593>
_______________________________________
More information about the Python-bugs-list
mailing list