Submitter | phabricator |
---|---|
Date | Dec. 12, 2017, 11:26 p.m. |
Message ID | <differential-rev-PHID-DREV-e7dcsaulkdbyx6ibv5yc-req@phab.mercurial-scm.org> |
Download | mbox | patch |
Permalink | /patch/26255/ |
State | Superseded |
Headers | show |
Comments
Patch
diff --git a/mercurial/pycompat.py b/mercurial/pycompat.py --- a/mercurial/pycompat.py +++ b/mercurial/pycompat.py @@ -63,6 +63,7 @@ sysexecutable = os.fsencode(sysexecutable) stringio = io.BytesIO maplist = lambda *args: list(map(*args)) + ziplist = lambda *args: list(zip(*args)) rawinput = input # TODO: .buffer might not exist if std streams were replaced; we'll need @@ -313,6 +314,7 @@ shlexsplit = shlex.split stringio = cStringIO.StringIO maplist = map + ziplist = zip rawinput = raw_input isjython = sysplatform.startswith('java')