##// END OF EJS Templates
py3: introduce pycompat.ziplist as zip is a generator on Python 3...
Pulkit Goyal -
r35406:e66d6e93 default
parent child Browse files
Show More
@@ -63,6 +63,7 b' if ispy3:'
63 63 sysexecutable = os.fsencode(sysexecutable)
64 64 stringio = io.BytesIO
65 65 maplist = lambda *args: list(map(*args))
66 ziplist = lambda *args: list(zip(*args))
66 67 rawinput = input
67 68
68 69 # TODO: .buffer might not exist if std streams were replaced; we'll need
@@ -313,6 +314,7 b' else:'
313 314 shlexsplit = shlex.split
314 315 stringio = cStringIO.StringIO
315 316 maplist = map
317 ziplist = zip
316 318 rawinput = raw_input
317 319
318 320 isjython = sysplatform.startswith('java')
General Comments 0
You need to be logged in to leave comments. Login now