This is an archive of the discontinued Mercurial Phabricator instance.

absorb: port partway to Python 3
ClosedPublic

Authored by durin42 on Aug 9 2018, 1:41 PM.

Details

Summary

Use pycompat.maplist() in the one place that matters and use the
default iterator of a dict instead of iterkeys().

Two new tests pass on Python 3.

Diff Detail

Repository
rHG Mercurial
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.

Event Timeline

durin42 created this revision.Aug 9 2018, 1:41 PM
pulkit accepted this revision.Aug 9 2018, 2:12 PM
This revision was automatically updated to reflect the committed changes.