( )⚙ D1790 py3: use pycompat.ziplist instead of inbuilt zip

This is an archive of the discontinued Mercurial Phabricator instance.

py3: use pycompat.ziplist instead of inbuilt zip
ClosedPublic

Authored by pulkit on Dec 28 2017, 7:48 PM.

Details

Summary

zip just like map on Python 3 returns a generator object instead of list. This
results in error if we try to iterate over the result once we consume it. We
have added pycompat.ziplist which returns a list.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Dec 28 2017, 7:48 PM
durin42 accepted this revision.Jan 10 2018, 5:56 PM
This revision is now accepted and ready to land.Jan 10 2018, 5:56 PM
This revision was automatically updated to reflect the committed changes.