mercurial/pycompat.py
changeset 35405 e66d6e938d2d
parent 35226 5b569d512fbd
child 35903 1a31111e6239
--- a/mercurial/pycompat.py	Mon Dec 11 05:26:46 2017 +0530
+++ b/mercurial/pycompat.py	Mon Dec 11 05:56:35 2017 +0530
@@ -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')