[Python-Dev] do people use sys._mercurial? (original) (raw)
francismb francismb at email.de
Sat Jan 23 14:45:19 EST 2016
- Previous message (by thread): [Python-Dev] do people use sys._mercurial?
- Next message (by thread): [Python-Dev] do people use sys._mercurial?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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
- Previous message (by thread): [Python-Dev] do people use sys._mercurial?
- Next message (by thread): [Python-Dev] do people use sys._mercurial?
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]