D4508: lazyancestors: reuse __iter__ implementation in __contains__
Yuya Nishihara
yuya at tcha.org
Sat Sep 8 04:18:04 EDT 2018
> + self._containsseen = set()
> + self._containsiter = iter(self)
Perhaps __iter__() needs to be extracted to a free function to avoid
reference cycle.
More information about the Mercurial-devel
mailing list