diff -r 3fcaf0f660ce -r 10b17ed9b591 mercurial/commands.py --- a/mercurial/commands.py Tue Dec 20 00:02:24 2016 +0530 +++ b/mercurial/commands.py Tue Dec 20 00:20:07 2016 +0530 @@ -1889,7 +1889,7 @@ # Python fm.write('pythonexe', _("checking Python executable (%s)\n"), - sys.executable) + pycompat.sysexecutable) fm.write('pythonver', _("checking Python version (%s)\n"), ("%d.%d.%d" % sys.version_info[:3])) fm.write('pythonlib', _("checking Python lib (%s)...\n"),