[Python-Dev] do people use sys._mercurial?

francismb francismb at email.de
Sat Jan 23 14:45:19 EST 2016


Hi,

On 01/23/2016 12:44 AM, Brett Cannon wrote:
> Since we are going to be switching over to Git, sys._mercurial is going to
> be made to return a dummy value of `('CPython', '', '')` once we switch to
> Git.

for me sys._mercurial it's already returning that (?) : what should
return now? (it's a bug?)


$ ipython
Python 2.7.11 (default, Dec  9 2015, 00:29:25)
Type "copyright", "credits" or "license" for more information.

IPython 2.4.1 -- An enhanced Interactive Python.
?         -> Introduction and overview of IPython's features.
%quickref -> Quick reference.
help      -> Python's own help system.
object?   -> Details about 'object', use 'object??' for extra details.

In [1]: import sys

In [2]: sys._mercurial
Out[2]: ('CPython', '', '')

In [3]:


Regards,
francis


More information about the Python-Dev mailing list