This is an archive of the discontinued Mercurial Phabricator instance.

lazyancestors: extract __iter__ to free function
ClosedPublic

Authored by martinvonz on Sep 10 2018, 3:06 AM.

Details

Summary

The next patch will keep a reference to the returned iterator in a
field, which would otherwise result in a reference cycle.

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

martinvonz created this revision.Sep 10 2018, 3:06 AM
This revision was automatically updated to reflect the committed changes.