nedbat/byterun — pull request #4 by akaptur (2013-08-21 19:36:42+00:00)
Title: Use py2/py3 compatible generator syntax

In py2, generators have gen.next() methods. In py3, it's gen.__next__(). Using next(gen) works in both versions.