[PATCH] py3: catch StopIteration from next() in generatorset

Yuya Nishihara yuya at tcha.org
Wed Jun 21 11:29:13 EDT 2017


On Tue, 20 Jun 2017 14:45:57 -0700, Martin von Zweigbergk via Mercurial-devel wrote:
> # HG changeset patch
> # User Martin von Zweigbergk <martinvonz at google.com>
> # Date 1497992441 25200
> #      Tue Jun 20 14:00:41 2017 -0700
> # Node ID f86d21c457209f5f5a139bcc808be33fbd930424
> # Parent  0906385672d754f13a512fe70759f0463a069f1e
> py3: catch StopIteration from next() in generatorset

Looks good as this _next() exists inside a generator function.
Queued, thanks.


More information about the Mercurial-devel mailing list