( )⚙ D2415 py3: convert dict.items() to list explicitly

This is an archive of the discontinued Mercurial Phabricator instance.

py3: convert dict.items() to list explicitly
ClosedPublic

Authored by pulkit on Feb 24 2018, 6:18 AM.

Details

Summary

On python 3, dict.items() returns a dict_items object which cannot be sorted.

Diff Detail

Repository
rHG Mercurial
Lint
Lint Skipped
Unit
Unit Tests Skipped

Event Timeline

pulkit created this revision.Feb 24 2018, 6:18 AM
This revision was automatically updated to reflect the committed changes.