[issue27593] Deprecate sys._mercurial and create sys._git

STINNER Victor report at bugs.python.org
Thu Apr 27 12:19:38 EDT 2017


STINNER Victor added the comment:

Ned Deily: "I'll be doing backports to 2.7 for this and some other things shortly."

It seems like Ned was busy or forgot 2.7, so I wrote a change: https://github.com/python/cpython/pull/1327

My change doesn't touch platform.py. platform._sys_version() uses sys.subversion but not sys._hg. If someone wants to enhance the platform module of Python 2.7, I suggest to open a new issue. There is a non-zero risk of breaking the backward compatibility, so I skipped my turn for that one :-)

----------

_______________________________________
Python tracker <report at bugs.python.org>
<http://bugs.python.org/issue27593>
_______________________________________


More information about the Python-bugs-list mailing list