This is an archive of the discontinued Mercurial Phabricator instance.

py3: define __next__ in patch.py
ClosedPublic

Authored by indygreg on Nov 21 2017, 2:53 AM.

Details

Summary

This needed to appease Python 3's iterator protocol.

This is crasher #5 in 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

indygreg created this revision.Nov 21 2017, 2:53 AM
pulkit accepted this revision.Nov 21 2017, 9:23 AM
yuja accepted this revision.Dec 1 2017, 9:31 PM
This revision is now accepted and ready to land.Dec 1 2017, 9:31 PM
This revision was automatically updated to reflect the committed changes.